You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Sivaprasad Chintam <si...@gmail.com> on 2010/11/12 14:24:28 UTC

How to capture Postdata parameters....

Hi,

 I have a sampler which is sending a request :


WindowID=657856&X-requsted-with=xmlhttprequest&http_session_id=78JHUS8JS9889I28E9292IE8&event_=I.Header%3AmethodCall_gotoLoginScreen....etc


Prob:
- WindowID is dynamic, so i have added regular expression extractor  for the
parent sampler and captured the same and replaced in subsequent requests,
- But i am unable to capture "http_session_id=xxxxxxxxxxx", as it is not
appearing in the body/url....etc

Any idea..please share with me.

Thanks&Regards,
Siva

Re: How to capture Postdata parameters....

Posted by Felix Frank <ff...@mpexnet.de>.
On 11/23/2010 03:11 PM, Sivaprasad Chintam wrote:
> ID not present in HTML / javscript /cookie.... :(
>
> On Fri, Nov 12, 2010 at 9:06 PM, Deepak Shetty<sh...@gmail.com>  wrote:
>
>> look through the HTML code and see how the url is constructed , the id must
>> be part of the HTML or javascript or a cookie.
>>
>> On Fri, Nov 12, 2010 at 5:24 AM, Sivaprasad Chintam
>> <si...@gmail.com>wrote:
>>
>>> Hi,
>>>
>>>   I have a sampler which is sending a request :
>>>
>>>
>>>
>>>
>> WindowID=657856&X-requsted-with=xmlhttprequest&http_session_id=78JHUS8JS9889I28E9292IE8&event_=I.Header%3AmethodCall_gotoLoginScreen....etc

Is Javascript sending this request?

Or is this a link that the user is actively clicking?

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: How to capture Postdata parameters....

Posted by Sivaprasad Chintam <si...@gmail.com>.
ID not present in HTML / javscript /cookie.... :(

On Fri, Nov 12, 2010 at 9:06 PM, Deepak Shetty <sh...@gmail.com> wrote:

> look through the HTML code and see how the url is constructed , the id must
> be part of the HTML or javascript or a cookie.
>
> On Fri, Nov 12, 2010 at 5:24 AM, Sivaprasad Chintam
> <si...@gmail.com>wrote:
>
> > Hi,
> >
> >  I have a sampler which is sending a request :
> >
> >
> >
> >
> WindowID=657856&X-requsted-with=xmlhttprequest&http_session_id=78JHUS8JS9889I28E9292IE8&event_=I.Header%3AmethodCall_gotoLoginScreen....etc
> >
> >
> > Prob:
> > - WindowID is dynamic, so i have added regular expression extractor  for
> > the
> > parent sampler and captured the same and replaced in subsequent requests,
> > - But i am unable to capture "http_session_id=xxxxxxxxxxx", as it is not
> > appearing in the body/url....etc
> >
> > Any idea..please share with me.
> >
> > Thanks&Regards,
> > Siva
> >
>

Re: How to capture Postdata parameters....

Posted by Deepak Shetty <sh...@gmail.com>.
look through the HTML code and see how the url is constructed , the id must
be part of the HTML or javascript or a cookie.

On Fri, Nov 12, 2010 at 5:24 AM, Sivaprasad Chintam
<si...@gmail.com>wrote:

> Hi,
>
>  I have a sampler which is sending a request :
>
>
>
> WindowID=657856&X-requsted-with=xmlhttprequest&http_session_id=78JHUS8JS9889I28E9292IE8&event_=I.Header%3AmethodCall_gotoLoginScreen....etc
>
>
> Prob:
> - WindowID is dynamic, so i have added regular expression extractor  for
> the
> parent sampler and captured the same and replaced in subsequent requests,
> - But i am unable to capture "http_session_id=xxxxxxxxxxx", as it is not
> appearing in the body/url....etc
>
> Any idea..please share with me.
>
> Thanks&Regards,
> Siva
>