Forum Discussion

Ludo15101966's avatar
Ludo15101966
Contributor
8 years ago

Free Soapui , Empty parameter when using a web service

Hello,

 

I have a very strange behavior in free soapui

I'm importing swagger json to test REST web services

 

I have parameters in URL so my seb services definition is like that

 

.../environments/{envName}/users

 

When I'm using this web service in a test case the parameter is not present in the method

 

the parameter envName is present in the parameter list, but the url shown is like /environments//users

 

(normally it is like /environments/{envName}/users ?)

 

Do you have an idea of the possible cause ?

 

Thank you

 

Regards

 

5 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    May be that you haven't provided value for envName.
    • Ludo15101966's avatar
      Ludo15101966
      Contributor

      Hello Rao,

       

      Normally the parameter is written in the method, but not here

      if you type a string in the parameter, the string is replaced in the url...

       

      I've attached a screenshot

       

      Thank you

       

      regards

       

       

      • nmrao's avatar
        nmrao
        Champion Level 3
        While call the particular type request from a test case, provide the actual value.