TerryHeNew Contributor8 years agoPost: How to replace the variables in attachment I defined following in groovy script ============= vars["sg"] = "sg1" context.vars = vars ============= If the POST request is "application/xml", i can use "${=vars.sg}" to access the real va...Show More
nmraoChampion Level 38 years agoIf it is the case, you may have modify the file content and save the file prior to send the request.
Related ContentReplacing a Project Variable with new value.Replace one part in a request with the value from an variablePerforming a JsonPath replacement in groovyReplacing an iteration number with a variable value in a results reportscrollIntoView replacement
Recent DiscussionsDarshan Hiranandani : Exploring ReadyAPI Integration with Azure GitHow to hit update service multiple time with different data set.How do I prevent a file path from being altered when being parsed by JsonSlurper in Groovy Script?SolvedMultipart requests getting blocked by the Azure WAF 200003Parameterising JDBC Connection Settings..Can you do it?