Forum Discussion

Kro's avatar
Kro
Occasional Contributor
9 years ago

HTTP Request ignoriert property in URL

Hallo zusammen,

 

ich würde gerne bei einem HTTP Request in der URL eine Property verwenden, um die URL je nach Environment zu setzen.

GET http://${#project#global_prj_service_endpoint}/abc

 

SoapUI sendet dann allerdings den Request GET http://null/abc.

 

Kann mir jemand sagen, warum die Property nicht aufgelöst wird?

 

Ich verwende SoapUI 5.1.2 Pro


Viele Grüße

Kro

  • Kro, the variable names are case sensitive, please try the same with capital P in Project scope:

     

    ${#Project#global_prj_service_endpoint}

     

  • KarelHusa's avatar
    KarelHusa
    Champion Level 1

    Kro, the variable names are case sensitive, please try the same with capital P in Project scope:

     

    ${#Project#global_prj_service_endpoint}

     

  • nmrao's avatar
    nmrao
    Champion Level 3

    A request, please post the questions in English which can help to reach wider audience.

  • Kro's avatar
    Kro
    Occasional Contributor

    Hi,

     

    thanks for the answers.
    The capital P in Project scope resolves the problem. Thanks, i didn't see it.
    But it is not possible to write a capital P in the Request URL in the HTTP Test Request window.
    I solved it by setting the capitol P in the HTTP Request Properties Endpoint on the right side (Navigator window).

     

    My question again in English:
    I want to make a HTTP Test Request with a global property in the URL to set the host in dependence of the environment.

     

    Regards,
    Claudia