Forum Discussion

xbb1024's avatar
10 years ago

Newbe requesting help with basic login

Hi, I'm fairly new to SoapUI (just downloaded it today).

I've created a new project by providing the WSDL url. Then I created TestSuite 1 -> TestCase 1, where I'm calling login, myFunction, and logout. I've provided a username and password in login, ran TestCase 1, and got a response from my server. Then when myFunction ran, I got a "not logged in" response.

Is there some step I've missed here?

1 Reply

  • PaulDonny's avatar
    PaulDonny
    Regular Contributor
    You have to maintain session data in the test case.

    In the TestCase level option (right click TestCase 1 and select Options) you can then check "Maintain HTTP session" and that should fix this.