Forum Discussion

Philippe_Lebacq's avatar
Philippe_Lebacq
Contributor
16 years ago

property - property transfer for part of endpoint

Hi
in endpoints, we have an indication of the test environment and of the operation.
Is there an easy way to transfer that environment byte of the endpoint to the test requests?
Sample: the 8 means our '8' environment
--> https://cwssoap8.toyota-europe.com/cws2 ... StatusList
--> https://cwssoap8.toyota-europe.com/cws2 ... escription
--> etc

that would allow me for a single property transfer for all requests in my test case.
At the moment I have a property transfer with the full endpoint value for each operation.

Philippe.

3 Replies

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi,

    maybe you could define a project-level property named "env" that you could use in your endpoints;

    https://cwssoap${#Project#env}toyota-europe.com/...

    Then all you need to do to change the environment is change the value of this property.

    Or did I misunderstand?

    regards!

    /Ole
    eviware.com
  • Hi
    That's the idea.
    I added env in project custom properties
    and in the test properties in my testcase, the endpoint value: https://cwssoap${#Project#env}.toyota-europe.com/cws2webservice/axis/ClaimStatusEntry

    But, my env value is not replaced in the test endpoints: I probably missed the propertytransfer for env?

    Philippe.