hi it does look like you omitted something. For e.g. is there no path in the Set-Cookie header? (I cant check the specification right now but If I remember correctly by default the cookie is scoped to the path you accessed from unless you explicitly say otherwise)
regards deepak On Fri, Aug 24, 2012 at 2:31 PM, sharmila Renganathan <sharmila...@gmail.com > wrote: > Hey Shmuel, > > I did not omit any information. > Also,I have the http cookie manager at the top. > What is that http implementation? > > Regards, > Sharmila R > > On Fri, Aug 24, 2012 at 4:39 PM, Shmuel Krakower <shmul...@gmail.com> > wrote: > > > Seems like in the second request the jsession cookie is not set in the > > headers list (or you omitted it). Make sure the cookie manager is at the > > top level of the thread group for the two samplers to share cookies. > > > > Also make sure you are using same http implimentation on both samplers. > > > > Shmuel. > > בתאריך 2012 8 24 04:54, מאת "sharmila Renganathan" < > sharmila...@gmail.com > > >: > > > > > Request1 data: > > > POST > > > > > > > > > https://test-wmos1.test.liquidation.com:11001/ucl/login/jsp/securityRedirect.jsp > > > > > > POST data: > > > selectedLocaleId=null&j_username=hmamidipelli&j_password=20%23Redfish > > > > > > Cookie Data: > > > $Version=0; scope_deploymentID=29-Jul-2012; $Path=/; $Domain=. > > > test.liquidation.com > > > > > > Request Headers: > > > Accept-Language: en-IN > > > Content-Length: 69 > > > User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; > > > Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR > > > 3.0.30729; Media Center PC 6.0; BRI/2; .NET4.0C; .NET4.0E) > > > Connection: keep-alive > > > Accept: application/x-ms-application, image/jpeg, application/xaml+xml, > > > image/gif, image/pjpeg, application/x-ms-xbap, */* > > > Content-Type: application/x-www-form-urlencoded > > > > > > > > > In the sampler results: > > > Set-Cookie: JSESSIONID=4BFA176CADFC51B302F1D54FE7326B01; > > > > > > Request2: > > > POST https://test-wmos1.test.liquidation.com:11001/j_security_check > > > > > > POST data: > > > > > > > > > MANH-CSRFToken=EAUIqvmDCrucFPBppnEcz0jgNEgnr7B3CBGAhTCnoGc=&j_username=hmamidipelli&j_password=1D581EDDD4672CA0753D91B2FF38F586849A896618B8BA023DC747D2CA773E18 > > > > > > Cookie Data: > > > $Version=0; scope_deploymentID=29-Jul-2012; $Path=/; $Domain=. > > > test.liquidation.com > > > > > > Request Headers: > > > Accept-Language: en-IN > > > Content-Length: 159 > > > User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; > > > Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR > > > 3.0.30729; Media Center PC 6.0; BRI/2; .NET4.0C; .NET4.0E) > > > Connection: keep-alive > > > Accept: application/x-ms-application, image/jpeg, application/xaml+xml, > > > image/gif, image/pjpeg, application/x-ms-xbap, */* > > > Content-Type: application/x-www-form-urlencoded > > > > > > In the sampler results of the 1st request: > > > Set-Cookie: JSESSIONID=5AD6B1E865B8973A32E0994BC72B49BE; is present. > > > > > > In the sampler result of the 2nd request: > > > Set-Cookie: JSESSIONID=4BFA176CADFC51B302F1D54FE7326B01; > > > > > > Regards, > > > Sharmila R > > > > > > > > > On Thu, Aug 23, 2012 at 4:58 PM, Deepak Shetty <shet...@gmail.com> > > wrote: > > > > > > > are you accessing the site with the same dns name as you are getting > in > > > the > > > > set cookie header? For e.g. the set-cookie might be saying domain= > > > > www.yoursite.com and you might have given the IP address in the > > script. > > > > If not add a view results tree listener and > > > > see the request / response for a couple of requests and post the, > here > > > > > > > > And in addition are you sure the site is using cookies and not url > > > > rewriting? > > > > > > > > regards > > > > deepak > > > > > > > > On Thu, Aug 23, 2012 at 1:54 PM, sharmila Renganathan < > > > > sharmila...@gmail.com > > > > > wrote: > > > > > > > > > Hi, > > > > > > > > > > I have some 5 request in my testplan. > > > > > I have added a Http cookie manager at the beginning. > > > > > But when i observe in the 'View results tree' listener, the > jsession > > id > > > > is > > > > > different for all the request. > > > > > All my request are https.(Will that be the problem?) > > > > > Can some one get a solution for this. > > > > > I dono if i am doing some thing wrong. > > > > > It will be very great if some one can get me a solution. > > > > > > > > > > Regards, > > > > > Sharmila R > > > > > > > > > > > > > > >