Forum Discussion

resttest's avatar
resttest
New Contributor
11 years ago

Exeucte Auth rest service before other rest service

I'm new to SOAPUI. I'm currently using SOAPUI for testing the rest services.

Rest services which I'm trying to automate returns reponse based on the user type and some services are only accessible to some user types.

Here are some rest api calls in the application that i'm testing:

http://endpoint//auth?name= &pass=
http://endpoint/v1/!getUsers
http://endpoint/v1/contact/user=

Auth service need to be success for the getusers and user rest service call. Otherwise, they return the error.

How do I execute the Auth service before calling the getUsers and user rest services in SOAPUI?
  • resttest's avatar
    resttest
    New Contributor
    It worked when selected the option Maintain Http session at the tes case level.