Forum Discussion

MeenakshiTuteja's avatar
MeenakshiTuteja
New Contributor
12 years ago

How to test HTTP code 301 with soapui or soapui pro.

I am trying to do a GET request for URI which is redirected to another URI(page), this should return HTTP code 301 and show the redirected URL.
Instead soap Ui returns HTTP code 200 and it shows the response as that of redirected page but I don't see my URI getting changed.
How can I test this ? need to see the code 301 and redirected URI.
I am using soap ui pro 4.5.1. Is there any other version I should be working on for this?Does soap Ui even supports testing 301?

3 Replies

  • nmrao's avatar
    nmrao
    Icon for Champion Level 1 rankChampion Level 1
    How are you currently testing this in soapui? i mean are you using web test? If not already, please make an attempt using HTTP Test Request and see.
  • I tried the HTTP test request, that is also returning 200 instead of 301.
    I am using soapui and REST Test Request as I am testing the rest service.
  • nmrao's avatar
    nmrao
    Icon for Champion Level 1 rankChampion Level 1
    You may alternatively try to do the same using HTTP Poster plugin of firefox