Highlighted
New Member.
587 views

How to set up ws-security as the SAOP UI in HP UFT 12.54?

I need test web service with ws-security setting.

In SOAP UI  setting WS-Security (Username, Password, Timestamp).
Launch the test, the web test is successful.

Launch the API test in HP UFT 12.54, the test is successful, but web service does not work out (authorizatin fails).

Security header not formed.

How to set up ws-security as the SAOP UI in HP UFT 12.54, to test the web service?

A detailed description of the attached file.

 

0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.

Re: How to set up ws-security as the SAOP UI in HP UFT 12.54?

If you have added the data correctly in the WS-security tab for the method, then you can try adding the Header details fully in the input request. So that the input XML also contains the username, password and timestamp. Also make sure the checkbox - use port's security settings is checked.

I think you could also try running it without adding any ws-security details and just running it as normal request with username, password and timestamp in the header. Make sure the correct header is added which has authentication tags matching as the service requires.

+pavan

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.