Forum Discussion

deepak2113's avatar
deepak2113
New Contributor
11 years ago

How to provide the username/password parameters at a single place for all the SOAP requests?

I have around 200 API requests to be tested using a SOAP project and currently i am providing the username parameters to be used for a request separately for each request. So if i have to change the username i have to edit all the request. Is there a way by which i can specify the parameter globally so that all the requests can access it and execute?

 

AN example API request is localhost:8080/Service.svc/users/{username}?format=json . The {username}is a request parameter. How can i make this as a global parameter for a Soap project so that all the request API's use this value for the parameter ?

1 Reply

  • nmrao's avatar
    nmrao
    Community Hero
    Is the same user name in use across 200 requests? Have you tried something like ${#Project#USERNAME} and define USERNAME property at Project level?