Forum Discussion

zauni01's avatar
zauni01
New Contributor
13 years ago

add REST Request to Test for resources with the same path

We have different rest requsts for GET operation and we encountered the following:
1. Add Rest request with the following path:http://localhost:8080/sp/osvc/Driver
Define Resource parameters
2.Add second rest request with the same path: http://localhost:8080/sp/osvc/Driver
but define different Resource parameters
3.Add these request into test case for each resource

The problem:
The test case for the second resource is always uses the first resource.

When the path is different or without parameters it works ok.

Happens both with soapui 4.0.0 and 4.5.1

3 Replies

  • zauni01's avatar
    zauni01
    New Contributor
    Thats Great Solution, But what happans if there are more then 2 resources with the same name?
    i can't add another "/" cause then the response will be internal server error (the url is not recognized)
  • leskop's avatar
    leskop
    Occasional Contributor
    Not sure I get you... Why you need more resources with same name? I thought path is important here.

    If your requests fails, try check option "Normalize Forward slashes" in SoapUI preferences-> HTTP Settings