Unable to save the test session via API
Brought to you by:
psiinon
Originally created by: ganga03@gmail.com
What steps will reproduce the problem?
1.Start the ZAP 2.4.0
2. Save the session via API (http://zap/XML/core/action/newSession/?zapapiformat=XML&name=test&overwrite=test
What is the expected output? What do you see instead?
<Exception code="illegal_parameter" detail="Session path must be absolute." type="exception">Provided parameter has illegal or unrecognized value (illegal_parameter) : Session path must be absolute.</Exception>
What version of the product are you using? On what operating system?
O/S: Windows 7 Enterprise (Service Pack 1)
64 bit operating System
Zap Version: 2.4.0
Please provide any additional information below.
Unable to save the session via API.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: ganga03@gmail.com
Attached screenshot.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: THC...@gmail.com
The parameter "name" should also contain be the absolute path to where the session should be saved (yeah, the name is not the best). For example:
C:\Directory\MySession.session
Note that the "overwrite" parameter expects a string boolean value, either "true" or "false".
The API used to support relative paths (or just a name) but its behaviour was undefined, the location where the session ended up being saved was not always the expected.
I guess we could allow that again but always save it to the ZAP's home "session" dir...
The attachment of comment #1 didn't make through.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: ganga03@gmail.com
I have attached screenshot again.