Query on capturing the session id from cookie manager

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Query on capturing the session id from cookie manager

krish na
Hi,
My session id's are stored in login Page like below:  (After adding Cookie manager in Request Data will looks like below)
Cookie Data:IsAlreadyLoaded=1; ASP.NET_SessionId=r0jd02mhmkmctduxzsazprfd
I'm using Regular Expression Extractor but not sure how to define the pattern to capture the above scenario.
i'm using like below:
variable - COOKIE_CMS_JSESSIONIDreg expression - Set-Cookie\s*:\sCMS_JSESSIONID=([^;])Template - $1Smatch no - 1default value - Not Found
Also using JSR223 PostProcessor and the groovy script below:
def author = vars.get("COOKIE_CMS_JSESSIONID")log.info ("Session id is ${COOKIE_CMS_JSESSIONID}")
After running when i check the log viewer the output is:
2018-08-08 19:52:29,397 INFO o.a.j.e.StandardJMeterEngine: Running the test!2018-08-08 19:52:29,397 INFO o.a.j.s.SampleEvent: List of sample_variables: []2018-08-08 19:52:29,407 INFO o.a.j.g.u.JMeterMenuBar: setRunning(true, *local*)2018-08-08 19:52:29,417 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group2018-08-08 19:52:29,417 INFO o.a.j.e.StandardJMeterEngine: Starting 1 threads for group Thread Group.2018-08-08 19:52:29,417 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error2018-08-08 19:52:29,417 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=1 ramp-up=1 perThread=1000.0 delayedStart=false2018-08-08 19:52:29,417 INFO o.a.j.t.ThreadGroup: Started thread group number 12018-08-08 19:52:29,417 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started2018-08-08 19:52:29,417 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-12018-08-08 19:52:31,154 INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:31,384 INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:32,648 INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:34,891 INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:36,446 INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:36,680 INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:36,910 INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:37,902 INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:38,818 INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:39,068 INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:39,752 INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:39,752 INFO o.a.j.t.JMeterThread: Thread is done: Thread Group 1-12018-08-08 19:52:39,752 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-12018-08-08 19:52:39,752 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test2018-08-08 19:52:39,752 INFO o.a.j.g.u.JMeterMenuBar: setRunning(false, *local*)

Kindly help me to over come the above issue.


Regards,
Krishna - +91-9884451279.

CallSend SMSAdd to SkypeYou'll need Skype CreditFree via Skype
Reply | Threaded
Open this post in threaded view
|

Re: Query on capturing the session id from cookie manager

Andrew Burton
Are you sure your regular expression is correct? There are online regex
validators such as regex101 that confirm whether or not the regex matches
the page response.

If you are trying to capture the value from a Set-Cookie header, you will
need to set "Field to check" = "Response Headers" (since the Set-Cookie is
a response header, not in the page response).

There's a Stack Overflow question that might be useful:
https://stackoverflow.com/questions/42134328/how-to-extract-cookie-data-from-jmeter-request


On Thu, Aug 9, 2018 at 12:28 AM krish na <[hidden email]>
wrote:

> Hi,
> My session id's are stored in login Page like below:  (After adding Cookie
> manager in Request Data will looks like below)
> Cookie Data:IsAlreadyLoaded=1; ASP.NET_SessionId=r0jd02mhmkmctduxzsazprfd
> I'm using Regular Expression Extractor but not sure how to define the
> pattern to capture the above scenario.
> i'm using like below:
> variable - COOKIE_CMS_JSESSIONIDreg expression
> - Set-Cookie\s*:\sCMS_JSESSIONID=([^;])Template - $1Smatch no - 1default
> value - Not Found
> Also using JSR223 PostProcessor and the groovy script below:
> def author = vars.get("COOKIE_CMS_JSESSIONID")log.info ("Session id is
> ${COOKIE_CMS_JSESSIONID}")
> After running when i check the log viewer the output is:
> 2018-08-08 19:52:29,397 INFO o.a.j.e.StandardJMeterEngine: Running the
> test!2018-08-08 19:52:29,397 INFO o.a.j.s.SampleEvent: List of
> sample_variables: []2018-08-08 19:52:29,407 INFO o.a.j.g.u.JMeterMenuBar:
> setRunning(true, *local*)2018-08-08 19:52:29,417 INFO
> o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread
> Group2018-08-08 19:52:29,417 INFO o.a.j.e.StandardJMeterEngine: Starting 1
> threads for group Thread Group.2018-08-08 19:52:29,417 INFO
> o.a.j.e.StandardJMeterEngine: Thread will continue on error2018-08-08
> 19:52:29,417 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1
> threads=1 ramp-up=1 perThread=1000.0 delayedStart=false2018-08-08
> 19:52:29,417 INFO o.a.j.t.ThreadGroup: Started thread group number
> 12018-08-08 19:52:29,417 INFO o.a.j.e.StandardJMeterEngine: All thread
> groups have been started2018-08-08 19:52:29,417 INFO o.a.j.t.JMeterThread:
> Thread started: Thread Group 1-12018-08-08 19:52:31,154 INFO
> o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:31,384
> INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08
> 19:52:32,648 INFO o.a.j.e.JSR223PostProcessor: Session id is Not
> Found2018-08-08 19:52:34,891 INFO o.a.j.e.JSR223PostProcessor: Session id
> is Not Found2018-08-08 19:52:36,446 INFO o.a.j.e.JSR223PostProcessor:
> Session id is Not Found2018-08-08 19:52:36,680 INFO
> o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:36,910
> INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08
> 19:52:37,902 INFO o.a.j.e.JSR223PostProcessor: Session id is Not
> Found2018-08-08 19:52:38,818 INFO o.a.j.e.JSR223PostProcessor: Session id
> is Not Found2018-08-08 19:52:39,068 INFO o.a.j.e.JSR223PostProcessor:
> Session id is Not Found2018-08-08 19:52:39,752 INFO
> o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:39,752
> INFO o.a.j.t.JMeterThread: Thread is done: Thread Group 1-12018-08-08
> 19:52:39,752 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group
> 1-12018-08-08 19:52:39,752 INFO o.a.j.e.StandardJMeterEngine: Notifying
> test listeners of end of test2018-08-08 19:52:39,752 INFO
> o.a.j.g.u.JMeterMenuBar: setRunning(false, *local*)
>
> Kindly help me to over come the above issue.
>
>
> Regards,
> Krishna - +91-9884451279.
>
> CallSend SMSAdd to SkypeYou'll need Skype CreditFree via Skype
Reply | Threaded
Open this post in threaded view
|

Re: Query on capturing the session id from cookie manager

shettyd
In reply to this post by krish na
If you are using Cookie Manager and your application is using cookies then
typically you shouldnt have to do anything else (like extracting the
session id from the header and setting it - this is only needed for some
advanced use cases ) - So first confirm that you really need to do what you
are doing.

This regex is incorrect
Set-Cookie\s*:\sCMS_JSESSIONID=([^;]) ==> You would extract only the first
character . This should be ([^;]*). .Ensure you have selected response
headers in the radio button and this post processor is the child of the
request that is setting the cookie. Also your response says
ASP.NET_SessionID but you are looking for something named CMS_JSESSIONID -
is this correct ?
Add a debug sampler so you can see what you got.


On Wed, Aug 8, 2018 at 7:28 AM, krish na <[hidden email]>
wrote:

> Hi,
> My session id's are stored in login Page like below:  (After adding Cookie
> manager in Request Data will looks like below)
> Cookie Data:IsAlreadyLoaded=1; ASP.NET_SessionId=r0jd02mhmkmctduxzsazprfd
> I'm using Regular Expression Extractor but not sure how to define the
> pattern to capture the above scenario.
> i'm using like below:
> variable - COOKIE_CMS_JSESSIONIDreg expression - Set-Cookie\s*:\sCMS_JSESSIONID=([^;])Template
> - $1Smatch no - 1default value - Not Found
> Also using JSR223 PostProcessor and the groovy script below:
> def author = vars.get("COOKIE_CMS_JSESSIONID")log.info ("Session id is
> ${COOKIE_CMS_JSESSIONID}")
> After running when i check the log viewer the output is:
> 2018-08-08 19:52:29,397 INFO o.a.j.e.StandardJMeterEngine: Running the
> test!2018-08-08 19:52:29,397 INFO o.a.j.s.SampleEvent: List of
> sample_variables: []2018-08-08 19:52:29,407 INFO o.a.j.g.u.JMeterMenuBar:
> setRunning(true, *local*)2018-08-08 19:52:29,417 INFO
> o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread
> Group2018-08-08 19:52:29,417 INFO o.a.j.e.StandardJMeterEngine: Starting 1
> threads for group Thread Group.2018-08-08 19:52:29,417 INFO
> o.a.j.e.StandardJMeterEngine: Thread will continue on error2018-08-08
> 19:52:29,417 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1
> threads=1 ramp-up=1 perThread=1000.0 delayedStart=false2018-08-08
> 19:52:29,417 INFO o.a.j.t.ThreadGroup: Started thread group number
> 12018-08-08 19:52:29,417 INFO o.a.j.e.StandardJMeterEngine: All thread
> groups have been started2018-08-08 19:52:29,417 INFO o.a.j.t.JMeterThread:
> Thread started: Thread Group 1-12018-08-08 19:52:31,154 INFO
> o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:31,384
> INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08
> 19:52:32,648 INFO o.a.j.e.JSR223PostProcessor: Session id is Not
> Found2018-08-08 19:52:34,891 INFO o.a.j.e.JSR223PostProcessor: Session id
> is Not Found2018-08-08 19:52:36,446 INFO o.a.j.e.JSR223PostProcessor:
> Session id is Not Found2018-08-08 19:52:36,680 INFO
> o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:36,910
> INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08
> 19:52:37,902 INFO o.a.j.e.JSR223PostProcessor: Session id is Not
> Found2018-08-08 19:52:38,818 INFO o.a.j.e.JSR223PostProcessor: Session id
> is Not Found2018-08-08 19:52:39,068 INFO o.a.j.e.JSR223PostProcessor:
> Session id is Not Found2018-08-08 19:52:39,752 INFO
> o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:39,752
> INFO o.a.j.t.JMeterThread: Thread is done: Thread Group 1-12018-08-08
> 19:52:39,752 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group
> 1-12018-08-08 19:52:39,752 INFO o.a.j.e.StandardJMeterEngine: Notifying
> test listeners of end of test2018-08-08 19:52:39,752 INFO
> o.a.j.g.u.JMeterMenuBar: setRunning(false, *local*)
>
> Kindly help me to over come the above issue.
>
>
> Regards,
> Krishna - +91-9884451279.
>
> CallSend SMSAdd to SkypeYou'll need Skype CreditFree via Skype
Reply | Threaded
Open this post in threaded view
|

Re: Query on capturing the session id from cookie manager

krish na
In reply to this post by krish na
Hi All,
Thanks for the input.
When i double check with Debug Sampler i got the below details as a Response data:
JMeterVariables:COOKIE_ASP.NET_SessionId=Not FoundCOOKIE_AuthToken=28f6dfd1-8f97-4a5f-a9e6-3b479edbfa2aCOOKIE_IsAlreadyLoaded=1JMeterThread.last_sample_ok=trueJMeterThread.pack=[hidden email]=122923START.MS=1533797963207START.YMD=20180809TESTSTART.MS=1533797998231__jm__Thread Group__idx=0__jmeter.USER_TOKEN__=Thread Group 1-1

Any idea why i'm not getting session id?
Regards,
Krishna - +91-9884451279.

CallSend SMSAdd to SkypeYou'll need Skype CreditFree via Skype

    On Thursday, 9 August, 2018, 5:57:51 AM IST, Deepak Shetty <[hidden email]> wrote:  
 
 This message is eligible for Automatic Cleanup! ([hidden email]) Add cleanup rule | More info
 If you are using Cookie Manager and your application is using cookies then
typically you shouldnt have to do anything else (like extracting the
session id from the header and setting it - this is only needed for some
advanced use cases ) - So first confirm that you really need to do what you
are doing.

This regex is incorrect
Set-Cookie\s*:\sCMS_JSESSIONID=([^;]) ==> You would extract only the first
character . This should be ([^;]*). .Ensure you have selected response
headers in the radio button and this post processor is the child of the
request that is setting the cookie. Also your response says
ASP.NET_SessionID but you are looking for something named CMS_JSESSIONID -
is this correct ?
Add a debug sampler so you can see what you got.


On Wed, Aug 8, 2018 at 7:28 AM, krish na <[hidden email]>
wrote:

> Hi,
> My session id's are stored in login Page like below:  (After adding Cookie
> manager in Request Data will looks like below)
> Cookie Data:IsAlreadyLoaded=1; ASP.NET_SessionId=r0jd02mhmkmctduxzsazprfd
> I'm using Regular Expression Extractor but not sure how to define the
> pattern to capture the above scenario.
> i'm using like below:
> variable - COOKIE_CMS_JSESSIONIDreg expression - Set-Cookie\s*:\sCMS_JSESSIONID=([^;])Template
> - $1Smatch no - 1default value - Not Found
> Also using JSR223 PostProcessor and the groovy script below:
> def author = vars.get("COOKIE_CMS_JSESSIONID")log.info ("Session id is
> ${COOKIE_CMS_JSESSIONID}")
> After running when i check the log viewer the output is:
> 2018-08-08 19:52:29,397 INFO o.a.j.e.StandardJMeterEngine: Running the
> test!2018-08-08 19:52:29,397 INFO o.a.j.s.SampleEvent: List of
> sample_variables: []2018-08-08 19:52:29,407 INFO o.a.j.g.u.JMeterMenuBar:
> setRunning(true, *local*)2018-08-08 19:52:29,417 INFO
> o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread
> Group2018-08-08 19:52:29,417 INFO o.a.j.e.StandardJMeterEngine: Starting 1
> threads for group Thread Group.2018-08-08 19:52:29,417 INFO
> o.a.j.e.StandardJMeterEngine: Thread will continue on error2018-08-08
> 19:52:29,417 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1
> threads=1 ramp-up=1 perThread=1000.0 delayedStart=false2018-08-08
> 19:52:29,417 INFO o.a.j.t.ThreadGroup: Started thread group number
> 12018-08-08 19:52:29,417 INFO o.a.j.e.StandardJMeterEngine: All thread
> groups have been started2018-08-08 19:52:29,417 INFO o.a.j.t.JMeterThread:
> Thread started: Thread Group 1-12018-08-08 19:52:31,154 INFO
> o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:31,384
> INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08
> 19:52:32,648 INFO o.a.j.e.JSR223PostProcessor: Session id is Not
> Found2018-08-08 19:52:34,891 INFO o.a.j.e.JSR223PostProcessor: Session id
> is Not Found2018-08-08 19:52:36,446 INFO o.a.j.e.JSR223PostProcessor:
> Session id is Not Found2018-08-08 19:52:36,680 INFO
> o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:36,910
> INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08
> 19:52:37,902 INFO o.a.j.e.JSR223PostProcessor: Session id is Not
> Found2018-08-08 19:52:38,818 INFO o.a.j.e.JSR223PostProcessor: Session id
> is Not Found2018-08-08 19:52:39,068 INFO o.a.j.e.JSR223PostProcessor:
> Session id is Not Found2018-08-08 19:52:39,752 INFO
> o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:39,752
> INFO o.a.j.t.JMeterThread: Thread is done: Thread Group 1-12018-08-08
> 19:52:39,752 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group
> 1-12018-08-08 19:52:39,752 INFO o.a.j.e.StandardJMeterEngine: Notifying
> test listeners of end of test2018-08-08 19:52:39,752 INFO
> o.a.j.g.u.JMeterMenuBar: setRunning(false, *local*)
>
> Kindly help me to over come the above issue.
>
>
> Regards,
> Krishna - +91-9884451279.
>
> CallSend SMSAdd to SkypeYou'll need Skype CreditFree via Skype
 
Reply | Threaded
Open this post in threaded view
|

Re: Query on capturing the session id from cookie manager

krish na
Hi All,
Able to find the session id kindly ignore my previous mail.
JMeterVariables:COOKIE_ASP.NET_SessionId=uimbzmrhwbi2ha2pcmahrgp4; path=/;COOKIE_ASP.NET_SessionId_g=1COOKIE_ASP.NET_SessionId_g0=Id=uimbzmrhwbi2ha2pcmahrgp4; path=/;COOKIE_ASP.NET_SessionId_g1=uimbzmrhwbi2ha2pcmahrgp4; path=/COOKIE_IsAlreadyLoaded=1JMeterThread.last_sample_ok=trueJMeterThread.pack=[hidden email]=122923START.MS=1533797963207START.YMD=20180809TESTSTART.MS=1533803902816__jm__Thread Group__idx=0__jmeter.USER_TOKEN__=Thread Group 1-1
Just checking how to define the proper regex pattern.
May be like this Id=(.*);But its matching to Id=41c03pstlss1bg0jldloqfyj; path=/; 
looking for some help to properly define the regex pattern.
Regards,
Krishna - +91-9884451279.

CallSend SMSAdd to SkypeYou'll need Skype CreditFree via Skype

    On Thursday, 9 August, 2018, 1:35:43 PM IST, krish na <[hidden email]> wrote:  
 
 Hi All,
Thanks for the input.
When i double check with Debug Sampler i got the below details as a Response data:
JMeterVariables:COOKIE_ASP.NET_SessionId=Not FoundCOOKIE_AuthToken=28f6dfd1-8f97-4a5f-a9e6-3b479edbfa2aCOOKIE_IsAlreadyLoaded=1JMeterThread.last_sample_ok=trueJMeterThread.pack=[hidden email]=122923START.MS=1533797963207START.YMD=20180809TESTSTART.MS=1533797998231__jm__Thread Group__idx=0__jmeter.USER_TOKEN__=Thread Group 1-1

Any idea why i'm not getting session id?
Regards,
Krishna - +91-9884451279.

CallSend SMSAdd to SkypeYou'll need Skype CreditFree via Skype

    On Thursday, 9 August, 2018, 5:57:51 AM IST, Deepak Shetty <[hidden email]> wrote: 
 
 This message is eligible for Automatic Cleanup! ([hidden email]) Add cleanup rule | More info
 If you are using Cookie Manager and your application is using cookies then
typically you shouldnt have to do anything else (like extracting the
session id from the header and setting it - this is only needed for some
advanced use cases ) - So first confirm that you really need to do what you
are doing.

This regex is incorrect
Set-Cookie\s*:\sCMS_JSESSIONID=([^;]) ==> You would extract only the first
character . This should be ([^;]*). .Ensure you have selected response
headers in the radio button and this post processor is the child of the
request that is setting the cookie. Also your response says
ASP.NET_SessionID but you are looking for something named CMS_JSESSIONID -
is this correct ?
Add a debug sampler so you can see what you got.


On Wed, Aug 8, 2018 at 7:28 AM, krish na <[hidden email]>
wrote:

> Hi,
> My session id's are stored in login Page like below:  (After adding Cookie
> manager in Request Data will looks like below)
> Cookie Data:IsAlreadyLoaded=1; ASP.NET_SessionId=r0jd02mhmkmctduxzsazprfd
> I'm using Regular Expression Extractor but not sure how to define the
> pattern to capture the above scenario.
> i'm using like below:
> variable - COOKIE_CMS_JSESSIONIDreg expression - Set-Cookie\s*:\sCMS_JSESSIONID=([^;])Template
> - $1Smatch no - 1default value - Not Found
> Also using JSR223 PostProcessor and the groovy script below:
> def author = vars.get("COOKIE_CMS_JSESSIONID")log.info ("Session id is
> ${COOKIE_CMS_JSESSIONID}")
> After running when i check the log viewer the output is:
> 2018-08-08 19:52:29,397 INFO o.a.j.e.StandardJMeterEngine: Running the
> test!2018-08-08 19:52:29,397 INFO o.a.j.s.SampleEvent: List of
> sample_variables: []2018-08-08 19:52:29,407 INFO o.a.j.g.u.JMeterMenuBar:
> setRunning(true, *local*)2018-08-08 19:52:29,417 INFO
> o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread
> Group2018-08-08 19:52:29,417 INFO o.a.j.e.StandardJMeterEngine: Starting 1
> threads for group Thread Group.2018-08-08 19:52:29,417 INFO
> o.a.j.e.StandardJMeterEngine: Thread will continue on error2018-08-08
> 19:52:29,417 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1
> threads=1 ramp-up=1 perThread=1000.0 delayedStart=false2018-08-08
> 19:52:29,417 INFO o.a.j.t.ThreadGroup: Started thread group number
> 12018-08-08 19:52:29,417 INFO o.a.j.e.StandardJMeterEngine: All thread
> groups have been started2018-08-08 19:52:29,417 INFO o.a.j.t.JMeterThread:
> Thread started: Thread Group 1-12018-08-08 19:52:31,154 INFO
> o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:31,384
> INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08
> 19:52:32,648 INFO o.a.j.e.JSR223PostProcessor: Session id is Not
> Found2018-08-08 19:52:34,891 INFO o.a.j.e.JSR223PostProcessor: Session id
> is Not Found2018-08-08 19:52:36,446 INFO o.a.j.e.JSR223PostProcessor:
> Session id is Not Found2018-08-08 19:52:36,680 INFO
> o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:36,910
> INFO o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08
> 19:52:37,902 INFO o.a.j.e.JSR223PostProcessor: Session id is Not
> Found2018-08-08 19:52:38,818 INFO o.a.j.e.JSR223PostProcessor: Session id
> is Not Found2018-08-08 19:52:39,068 INFO o.a.j.e.JSR223PostProcessor:
> Session id is Not Found2018-08-08 19:52:39,752 INFO
> o.a.j.e.JSR223PostProcessor: Session id is Not Found2018-08-08 19:52:39,752
> INFO o.a.j.t.JMeterThread: Thread is done: Thread Group 1-12018-08-08
> 19:52:39,752 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group
> 1-12018-08-08 19:52:39,752 INFO o.a.j.e.StandardJMeterEngine: Notifying
> test listeners of end of test2018-08-08 19:52:39,752 INFO
> o.a.j.g.u.JMeterMenuBar: setRunning(false, *local*)
>
> Kindly help me to over come the above issue.
>
>
> Regards,
> Krishna - +91-9884451279.
>
> CallSend SMSAdd to SkypeYou'll need Skype CreditFree via Skype
   
ZK
Reply | Threaded
Open this post in threaded view
|

Re: Query on capturing the session id from cookie manager

ZK
Hi,
try:
Id=(.+?);




ZK



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Query on capturing the session id from cookie manager

krish na
In reply to this post by krish na
Thanks able to identify properly and matching the second occurrence.
JMeterVariables:COOKIE_ASP.NET_SessionId=41c03pstlss1bg0jldloqfyj; path=/; HttpOnlyCOOKIE_ASP.NET_SessionId_g=1COOKIE_ASP.NET_SessionId_g0=Id=41c03pstlss1bg0jldloqfyj; path=/; HttpOnlyCOOKIE_ASP.NET_SessionId_g1=41c03pstlss1bg0jldloqfyj; path=/; HttpOnly

Regards,
Krishna - +91-9884451279.

CallSend SMSAdd to SkypeYou'll need Skype CreditFree via Skype

    On Thursday, 9 August, 2018, 3:20:20 PM IST, ZK <[hidden email]> wrote:  
 
 This message is eligible for Automatic Cleanup! ([hidden email]) Add cleanup rule | More info
 Hi,
try:
Id=(.+?);





ZK



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]