Forum Discussion

AdityaGupta's avatar
AdityaGupta
New Contributor
6 years ago

No option for a 'new http request'

This is in reference to the page: https://www.soapui.org/soapui-projects/form-based-authentication.html

Here it asks to create a new HTTP Request Step. I cannot find such an option in my soapUI.

I am trying to log in a web app so that I can test the secured links by using Maintain HTTP Session option.

 

Version used: 5.4.0

  • Hi, im using readyapi, not soapui, but if i remember correctly the http test step should be available after the following:

    Right click to launch the context menu on the testcase object in your hierarchy, click to add or insert step and http test step should be available in your listing.

    If it isnt in the listing, which im struggling to understand why it isnt, you can also use a rest test step to do the same.

    The only thing i can think of is that you havent created the testsuite and testcase objects which is why you cant see an option to add in the http test step...the menu options are context sensitive in soapui.

    Btw...the maintain http session checkbox is only available on the testcase object

    Hope this helps!

    Richie
  • richie's avatar
    richie
    Community Hero
    Hi, im using readyapi, not soapui, but if i remember correctly the http test step should be available after the following:

    Right click to launch the context menu on the testcase object in your hierarchy, click to add or insert step and http test step should be available in your listing.

    If it isnt in the listing, which im struggling to understand why it isnt, you can also use a rest test step to do the same.

    The only thing i can think of is that you havent created the testsuite and testcase objects which is why you cant see an option to add in the http test step...the menu options are context sensitive in soapui.

    Btw...the maintain http session checkbox is only available on the testcase object

    Hope this helps!

    Richie
    • AdityaGupta's avatar
      AdityaGupta
      New Contributor

      Ok, so I was able to find that option after following your steps.

       

      I hope you could clarify this for me. I am trying to automate 300 concurrent calls to an HTML page(not API). This page is secured by a login page. My plan is to create the first test as a login page and the subsequent requests to the actual URL. Also, I'll mark 'maintain HTTP session' as true.

      I hope this can be done through SOAPUI.

      • richie's avatar
        richie
        Community Hero

        SoapUI is an API testing tool - it doesn't support exercising tests within a front end. 

         

        what the  help page you've found provides is for instances where form based authentication is setup with the web services and this allows the tester to emulate the form based restriction by having the initial API call emulate what would be done at the form level.

         

        you say you are trying to automate 300 concurrent calls to an HTML page, not the API - this isn't what SoapUI does - yes it supports some performance testing requirements, but why not go with JMeter or something of that ilk - JMeter supports testing of both front ends and APIs and is built for Performance testing

         

        cheers

         

        richie