Highlighted
Absent Member.. Absent Member..
Absent Member..
270 views

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?

 

Thanks,

0 Likes
1 Reply
Highlighted
Frequent Contributor.
Frequent Contributor.

Re: Web application with Entrust Turepass Authentication Testing

Hello,

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.

 

Regards,

Bingle

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.