josette_merhy12
11 years agoOccasional Contributor
[LoadUIWeb] Getting Variable from Location URL in http respond
Hello,
I am new with the Load in general. I have a question if it is doable:
I have a POST request that is returning in the respond a URL in Location header, example:
https://arabia-dev.dev.bsynchro.com/?code=vE6B%21IAAAAIfz9k64WnrjsCnup13YxxhwdbMr1WzgAYTc8_RqA1HjAQEAAAGaMETlbb2VCyzyx-YDWBuNcst7f7_bRN4aZKefGmDAZl_Ny8frx3ysIIveToiRkMUV4UxSnMEzkpghbp1Dg-QMpBbogyNn2kDG9PsamingcqSudAq1sropRCDT1uL03u7Uejkk_V9lucpmHC2czUX5Wv_bhkJW18-Ed-zDBHSmj3nBRFzoZQVhL0Cvdl6N6begL0CnBO5jzW_7HcFzQoAAcUOEUvfmIGtcHOWNtDh8WtU5ioRzvAGD_9nPbZ6k8Ddvg4qGqWWljiVblbazmmyBeWII9FMySgiTztNLnVblDrBRo2RNGqgvXONSdlnSZZk2amSFNYZGMYeNDmBCKUlN&state=1s-zZQtsxkH41k0kgIG6Jw
the code and state are used in the GET request after it, example:
GET /?code=vE6B%21IAAAAIfz9k64WnrjsCnup13YxxhwdbMr1WzgAYTc8_RqA1HjAQEAAAGaMETlbb2VCyzyx-YDWBuNcst7f7_bRN4aZKefGmDAZl_Ny8frx3ysIIveToiRkMUV4UxSnMEzkpghbp1Dg-QMpBbogyNn2kDG9PsamingcqSudAq1sropRCDT1uL03u7Uejkk_V9lucpmHC2czUX5Wv_bhkJW18-Ed-zDBHSmj3nBRFzoZQVhL0Cvdl6N6begL0CnBO5jzW_7HcFzQoAAcUOEUvfmIGtcHOWNtDh8WtU5ioRzvAGD_9nPbZ6k8Ddvg4qGqWWljiVblbazmmyBeWII9FMySgiTztNLnVblDrBRo2RNGqgvXONSdlnSZZk2amSFNYZGMYeNDmBCKUlN&state=1s-zZQtsxkH41k0kgIG6Jw HTTP/1.1
HOW can i catch the code and state in the url in Location of a respond and use it in another request? Can anyone help me with this isse as it is very important for me to be able to do a load testing on my website.
Thank you,
Josette
I am new with the Load in general. I have a question if it is doable:
I have a POST request that is returning in the respond a URL in Location header, example:
https://arabia-dev.dev.bsynchro.com/?code=vE6B%21IAAAAIfz9k64WnrjsCnup13YxxhwdbMr1WzgAYTc8_RqA1HjAQEAAAGaMETlbb2VCyzyx-YDWBuNcst7f7_bRN4aZKefGmDAZl_Ny8frx3ysIIveToiRkMUV4UxSnMEzkpghbp1Dg-QMpBbogyNn2kDG9PsamingcqSudAq1sropRCDT1uL03u7Uejkk_V9lucpmHC2czUX5Wv_bhkJW18-Ed-zDBHSmj3nBRFzoZQVhL0Cvdl6N6begL0CnBO5jzW_7HcFzQoAAcUOEUvfmIGtcHOWNtDh8WtU5ioRzvAGD_9nPbZ6k8Ddvg4qGqWWljiVblbazmmyBeWII9FMySgiTztNLnVblDrBRo2RNGqgvXONSdlnSZZk2amSFNYZGMYeNDmBCKUlN&state=1s-zZQtsxkH41k0kgIG6Jw
the code and state are used in the GET request after it, example:
GET /?code=vE6B%21IAAAAIfz9k64WnrjsCnup13YxxhwdbMr1WzgAYTc8_RqA1HjAQEAAAGaMETlbb2VCyzyx-YDWBuNcst7f7_bRN4aZKefGmDAZl_Ny8frx3ysIIveToiRkMUV4UxSnMEzkpghbp1Dg-QMpBbogyNn2kDG9PsamingcqSudAq1sropRCDT1uL03u7Uejkk_V9lucpmHC2czUX5Wv_bhkJW18-Ed-zDBHSmj3nBRFzoZQVhL0Cvdl6N6begL0CnBO5jzW_7HcFzQoAAcUOEUvfmIGtcHOWNtDh8WtU5ioRzvAGD_9nPbZ6k8Ddvg4qGqWWljiVblbazmmyBeWII9FMySgiTztNLnVblDrBRo2RNGqgvXONSdlnSZZk2amSFNYZGMYeNDmBCKUlN&state=1s-zZQtsxkH41k0kgIG6Jw HTTP/1.1
HOW can i catch the code and state in the url in Location of a respond and use it in another request? Can anyone help me with this isse as it is very important for me to be able to do a load testing on my website.
Thank you,
Josette