Web application with Entrust Turepass Authentication Testing
I need to test a web application, it uses Turepass for user login authentication, truepass uses a .epf file as the user identifier.
I used "Java over HTTP" protocol when recording the script, VuGen(12.01 and11.52) could record the scripts, but when I replayed it, it errored out at the step:
web_custom_request("AuthenticationServlet") started [MsgId: MMSG-26355]
Error -26631: HTTP Status-Code=400 (Bad Request) for "https://xxx.xxx.xxx.xxx/servlets/AuthenticationServlet" [MsgId: MERR-26631]
It looks like that the server was expecting the content of the .epf file, but script only provided the path of the .epf file.
Does anyone have the similar experience?
Re: Web application with Entrust Turepass Authentication Testing
You can try the BodyFilePath atrribute:
BodyFilePath – The path to a file to be passed as the body of the request. BodyFilePath cannot be used together with Body, or any Body Attribute or Raw Body Attribute: BodyBinary, BodyUnicode, RAW_BODY_START , or Binary=1.