1. DO YOU WANT TO LOAD A SESSION?
We start the tutorial with that question since you might have already initiated a session before and just want to reuse it. If it’s the case then your answer is YES – GO TO STEP 9. If you have never saved any session your answer is NO – GO TO STEP 2. In other times you do not want to load any session or wish to start from scratch then your answer is NO – GO TO STEP 2.

HINT 1
To save session can be a real time saver when you want to get back to your tests exactly where you were when you stopped. Or just to save the session with different values.

HINT 2
Once the session is saved it is possible to go modify it directly in the XML file. There you can either change some values, remove some of them, update a JSESSIONID or even add a new form! Keep in mind that this file could be more useful than just a session repository.

HINT 3
If you are making tests with a web site using Java which keeps the web site context with a session id it is possible to update the cookie directly in the XML file. What you need to do is to modify the value of SubmitUri in the HtmlForm tag with the current session id. To do so you need to add a semi-colon (;) with the java session id right before the web page name and right before the query string values

Download pdf Tutorial of SQL Power Injector 1.1