Created
April 20, 2023 10:15
-
-
Save aartajew/89a92f9fd957fa389209376084a5e9cc to your computer and use it in GitHub Desktop.
Gatling > Remove header using signature calculator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package util | |
import io.gatling.commons.validation._ | |
import io.gatling.core.Predef._ | |
import io.gatling.http.client._ | |
object SignatureCalculatorRemoveHeader { | |
def apply(header: String): (Request, Session) => Validation[_] = (request, _) => { | |
request.getHeaders.remove(header) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment