Forum Discussion

kaeba's avatar
kaeba
Occasional Contributor
12 years ago

Dynamic value from Response URL Location to Request GET

How can I send and set parameter for Dynamic value from Response URL Location to Request GET ?





  • nmrao's avatar
    nmrao
    Icon for Champion Level 2 rankChampion Level 2
    Is it that the value from the login step response (previous step response)?

    If so, then you need to save the value to property and use property in the url.
  • kaeba's avatar
    kaeba
    Occasional Contributor
    nmrao wrote:
    Is it that the value from the login step response (previous step response)?

    If so, then you need to save the value to property and use property in the url.



    Many Thanks,nmrao ^^.
    I am newbie for Load UI.
    Below Image. What values should I set for these steps for Session ID ? Actually I read and try many times and it does not still success.






  • nmrao's avatar
    nmrao
    Icon for Champion Level 2 rankChampion Level 2
    Jsessionid value, that is marked in the login response, is not the same used in the next request (from 1st, 2nd images). If both are same probably that can be done automatically using some groovy script.
  • kaeba's avatar
    kaeba
    Occasional Contributor
    nmrao wrote:
    Jsessionid value, that is marked in the login response, is not the same used in the next request (from 1st, 2nd images). If both are same probably that can be done automatically using some groovy script.



    Many Thanks

    I guess "groovy script" for LoadUI Pro ?

    I just only use for LoadUI.

    http://www.qalibrary.info/locked_area/l ... asics.html
  • kaeba's avatar
    kaeba
    Occasional Contributor
    nmrao wrote:
    Oh, is it? Not aware of it.



    So from my Topic.

    How can I send and set parameter for Dynamic value from Response URL Location to Request GET ?


    From Image
    Ask1.jpg
    Ask2.jpg