Re: Jsession Test Question

2015-12-10 Thread Martin Grigorov
Hi, WicketTester *simulates* a browser and a web server. In a normal setup the web server (like Tomcat) generates and encodes the jsessionid in the url. WicketTester creates a Wicket Session for the test(s) and there is no need of transferring jsessionid in the url/cookie. You can use tester.execu

RE: Jsession Test Question

2015-12-10 Thread Ephraim Rosenfeld
g the URL I would try the latter first, just printing out what the request and response data have. - Ephraim -Original Message- From: Lois GreeneHernandez [mailto:lgreenehernan...@knoa.com] Sent: Thursday, December 10, 2015 2:51 PM To: users@wicket.apache.org Subject: Jsession Test Ques

Re: Jsession Test Question

2015-12-10 Thread Richard W. Adams
The short answer is no. The session ID is not part of the URL. The long answer is, you can test for the session ID if you have access to the HTTP request object. From: Lois GreeneHernandez To: "users@wicket.apache.org" Date: 12/10/2015 01:50 PM Subject: Jse

Jsession Test Question

2015-12-10 Thread Lois GreeneHernandez
Hi All, Is it possible to write a unit test or a pojo that tests an request url for the presence of a jsessionid? My application Is java/wicket. Our test system is testNG and wicket tester. Thanks Lois