How do I test a Web-Service with Single-Sign-On authentification?



  • I am trying to test a Web-Service that is created in an SAP System with SoapUI.

    Normally I would provide a user name and password in order to authenticate the call.

    The problem that I am having is that I can only log in to SAP using Single-Sign-On. Is there a way to configure it somehow in SoapUI? Unfortunately I have not found any tutorial on this topic.



  • Have never used SoapUI before, but in similar situations one way is to manually log in via SSO, then grab the cookie (or similar) it leaves from browser DevTools and copy that into the requests sent by API testing tool. (It's still not automated but can at least avoid needing to only test by making requests from the DevTools console).

    This SO post seems to discuss this approach a little in the context of SoapUI - https://stackoverflow.com/questions/28022721/sending-cookie-as-request-header-in-soap-ui-request-for-rest-web-service


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2