Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgriff committed Jan 29, 2025
1 parent 8bc756d commit 4c7baee
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions load-tests/src/gender-pay-gap-service.gatling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export default simulation((setUp) => {
),

createAccountGet: (): ChainBuilder =>
exec(http("Create Account - visit")
exec(http("Create Account - get")
.get(`/create-user-account`)
.headers(html_get_headers)
.check(
Expand All @@ -284,16 +284,16 @@ export default simulation((setUp) => {

createAccountPost: (): ChainBuilder =>
feed(usersFeeder)
.exec(http("Create Account - visit")
.exec(http("Create Account - post")
.post(`/create-user-account`)
.headers(html_post_headers)
.formParam("GovUk_Text_EmailAddress", emailAddressFromUserId("${userId}"))
.formParam("GovUk_Text_ConfirmEmailAddress", emailAddressFromUserId("${userId}"))
.formParam("GovUk_Text_FirstName", "Test")
.formParam("GovUk_Text_LastName", "Example")
.formParam("GovUk_Text_JobTitle", "Tester")
.formParam("GovUk_Text_Password", "GenderPayGap123")
.formParam("GovUk_Text_ConfirmPassword", "GenderPayGap123")
.formParam("EmailAddress", emailAddressFromUserId("${userId}"))
.formParam("ConfirmEmailAddress", emailAddressFromUserId("${userId}"))
.formParam("FirstName", "Test")
.formParam("LastName", "Example")
.formParam("JobTitle", "Tester")
.formParam("Password", "GenderPayGap123")
.formParam("ConfirmPassword", "GenderPayGap123")
.formParam("AllowContact", "true")
.formParam("SendUpdates", "false")
.formParam("__RequestVerificationToken", "${requestVerificationToken}")
Expand Down

0 comments on commit 4c7baee

Please sign in to comment.