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 DiscussionsParameterising JDBC Connection Settings..Can you do it?Test Runner - Report All in One FileGroovyScript Help - Repeating JSON Attributes Have Specific Value.....some of the time?SolvedJDBC results are stored in the ReadyAPI projectSolvedMyFirstPlugin - button Project menu in Ready Api