Forum Discussion

pamSAP's avatar
pamSAP
New Contributor
13 years ago

[Resolved] Authentication Inconsistency

Hello,
I have a test script where two steps behave differently regarding authentication. The first step properly sends the Basic Authorization value, however the next step does not include this information at all. In the Preferences/HTTP Settings, I do have "Authenticate Preemptively" checked.

Any thoughts on what could cause this behavior?

Pam Hickox
SAP Labs - Atlanta

3 Replies

  • Hi Pam,

    This behavior could be related to how you have configured authentication for your requests. One way to do it is to do it via the "Aut" tab, and in that case you have to supply your credentials for each test step.

    If you can send me your project file I would be happy to investigate further.

    Regards,

    Arian
    SmartBear Sweden
  • pamSAP's avatar
    pamSAP
    New Contributor
    Thank you Arian.
    The original author has discovered and solved the issue. I am posting it here in case it will be helpful for someone else.

    Somehow there was a mismatch with the service endpoint being used by the test step and the service endpoint for the ServiceWSBinding (one had ?wsdl on the end and the other one didn’t). It is certainly not something that was changed on purpose, but seems to be something done accidentally when making changes to the script between one version and the next.

    Thank you again for your ideas and offer to help.
    Pam Hickox
    SAP Labs - Atlanta
  • I'm glad to hear it worked out for you, and thank you for providing your solution.


    Regards,

    Arian
    SmartBear Sweden