jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Jmeter - Dynamic URL - How to record Script and Run.
Date Thu, 15 Apr 2010 05:10:07 GMT
>. FYI, there is no reference of the generated URL in the previous request.
How then will the browser know what the url is? Check your app carefully.
The browser cannot automatically request a url or post a value to a url ,
the url itself has to be there either within the HTML or Javascript. If you
cant figure it out , ask a developer from your team or if the application is
internet facing provide details so we can access and see.



regards
deepak



On Wed, Apr 14, 2010 at 9:33 PM, VVikasV <v.vikas.baliga@gmail.com> wrote:

>
> Hi Deepak,
> Thanks for your response. FYI, there is no reference of the generated URL
> in
> the previous request. I think the below solution will work only when the
> dymamic content is in 'Name value' pair. But here the dynamic content is in
> URL itself. I tried searching for the problem alot, but i am not able to
> find a solution.
>
>
> Deepak Shetty wrote:
> >
> > The generated url should be available in the previous request. you have
> to
> > extract it out , using a post-processor into a variable (usually a regex
> > extractor) and then use that variable as the path in the next request.
> > Similar problems have been discussed multiple times in the mail archives.
> >
> > regards
> > deepak
> >
> >
> > On Tue, Apr 13, 2010 at 6:21 AM, VVikasV <v.vikas.baliga@gmail.com>
> wrote:
> >
> >>
> >> PFB, the problem I am facing with Jmeter.
> >>
> >> While recording script using Jmeter, when click the to validate the
> user,
> >> the control goes to  third party service, where I need to enter the user
> >> details. Here I am getting a problem like, for each user the Url
> >> generated
> >> by the third party is different. The problem is still there if I am
> >> trying
> >> to login using the same login credentials. There is a part in the URL
> >> which
> >> changes with each login (that part is marked in the image below). So
> when
> >> I
> >> am trying to run the recorded script, it is showing “session expired
> >> error”.
> >> Is there any way to overcome this problem?
> >>
> >> •A portion in the recorded URL is dynamic. It changes with every login.
> >> •Since it the dynamic part is in URL, we are not able to apply
> >> “Correlation”
> >> to this.
> >> •When we run the script it is throwing “Session Expired Error”.
> >>
> >> I want to correlate the marked portion in URL.
> >>
> >>
> https://xx.xxx.xx.xx/WebObjects/IDMSAccount.woa/1/wo/KpFpetJdbqgVfuOGJABAqg/0.19
> >>
> >> I want to coorelate the part marked in bold in above URL.
> >>
> >> http://old.nabble.com/file/p28229865/Untitled.jpg
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/Jmeter---Dynamic-URL---How-to-record-Script-and-Run.-tp28229865p28229865.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
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Jmeter---Dynamic-URL---How-to-record-Script-and-Run.-tp28229865p28251127.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