Forum Discussion
SmartBear_Suppo
10 years agoSmartBear Alumni (Retired)
Hi,
Create some properties at the test case, testsuite, or project level and try below code in event handler RequestFilter.filterRequest.
Test case properties:
variable_x
variable_y
variable_z
Regards,
Marcus
SmartBear Support
Create some properties at the test case, testsuite, or project level and try below code in event handler RequestFilter.filterRequest.
Test case properties:
variable_x
variable_y
variable_z
log.info request.getPath()
def x = context.expand("\${#TestCase#variable_x}")
def y = context.expand("\${#TestCase#variable_y}")
def z = context.expand("\${#TestCase#variable_z}")
request.setPath("wapi1.php?action=bet_place_bet&multi[${x}][${y}]=${z}")
log.info request.getPath()
Regards,
Marcus
SmartBear Support
Related Content
- 3 years agoEgg
- 5 years agoryanterronez
- 9 years agobreaux