Forum Discussion
- StevenColonSmartBear Alumni (Retired)
Thank you for posting to our Community Forum.
You can utilize ${=<SCRIPT>} in the requests payload editor to input any script.
To generate a random string, use this script below:
import org.apache.commons.lang.RandomStringUtils charset = (('a'..'z') + ('A'..'Z') + ('0'..'9')).join() length = 9 RandomStringUtils.random(length, charset.toCharArray())
Let me know if you have any questions/concerns.
- icenamorOccasional Contributor
my answer is
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>String or binary data would be truncated.</faultstring>
<detail>
<ns1:DataAccessException xmlns:ns1="http://ws.oxgeneric.xplain.ch/"/>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
Related Content
Recent Discussions
- 4 days ago
- 7 days ago
- 18 days ago