Yes, request body can be modified with the help of utility methods. Let's take an example scenario.

Suppose we want to encrypt request body before executing the test case. We can achieve this with the help of utility methods in the following steps:

  1. First write a utility method which pre-process our input