requestBodyContains

Adds a matcher to require that the request body string contains the specified substring.

Return

This specification instance for fluent chaining.

Parameters

substring

The substring that must be present in the request body.