mmoser18
8 years agoFrequent Contributor
Strange bug where <string>.replace(...) does not work.
In one of my scripted assertion I need to replace a substring with another value. For some strange reason that doesn't work: My expression reads: ${=context.endpoint.replace("http","https")} ...
- 8 years ago
When I tried again today for some reason the original
${=context.endpoint.replace('http','https')}
suddenly worked!
Beats me, why this was not properly handled last time! Really weird!