jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: prob in running different sessions while selecting values in session id's, shows page expires
Date Thu, 26 May 2011 04:53:08 GMT
you need to look at the HTML that is returned to write your regex
t=([^&]*)& should extract the whole string(assuming this string is directly
present in the HTML) - you dont really need to care that only half of the
string changes
I suppose you will also have to extract out random

regards
deepak

On Wed, May 25, 2011 at 12:42 AM, gsub <affablepreet@gmail.com> wrote:

> i have visited 1 page ( with 4 dropdowns and  a continue button) where i
> select values from 3 dropdowns and click on continue. When i run my test,
> it
> shows page expires for this particular page.
>
> For every single value in dropdown session ids changes, now how do make
> this
> run successfully. the values of session id for the page up to some content
> is same, but changes after some contents
> For e.g
> when selected 1st value from DD1
>
> t=szH4H5HfhjszyLbw9AWTHX2VYnl-aF2mB78eZMWUF-KRE*sNH1Nfe-HGA6NjblqWPGuK4Rstx7mTx0XYGEdLFQa1QIBfl*OqpJVHlt7FXIbU&random=0.2994793951213028
> when selected 1st value from DD2
>
> t=szH4H5HfhjszyLbw9AWTHX2VYnl-aF2mB78eZMWUF-KRE*sNH1Nfe-MWOnuh*qET1SmiGVIzBcJsI0OeTboTePPEyjBtc*zgMM1N5RhSP2kk&random=0.25508672305724217
> when selected 1st value from DD3
> t=szH4H5HfhjszyLbw9AWTHX2VYnl-aF2mB78eZMWUF-KRE*sNH1Nfe
>
> F3tNe92yk7ac6TyRpWRB3baoFem2GhIDhjui3iLtLvWWbIsGdDw0I&random=0.23099018297435148
> above here value upto ***1Nfe is same, later changes
>
> and selects then another value from DD list
>
>
> t=szH4H5HfhjszyLbw9AWTHaIKt*pBf-zW-k5lq7-QJn9wAa5t*V41fFKw0SO8LL-0fyJqLBWO6OSO7wKqLoz2Kw&random=0.5601583842110257
>
> on clicking continue button Jmeter records
>
> t=8*VjBqysvMhFrpXMxYs39YYJBFe9ZjUBbUPhp15G51Mu8Bmyu07bcFeRFZOQRsaOPKn4DarlcuM
>
> need help how do i capture and what regex to use and make this sampler run
> to get response of that page, aware that regex to use after the constant
> session values. hope i am clear to all guys
>
> Regards
> GP
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/prob-in-running-different-sessions-while-selecting-values-in-session-id-s-shows-page-expires-tp4424493p4424493.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message