0
votes

I am currently migrating from 1.5 to 2.0 but it seems gatling recorder 2.0 does not record query parameters. Instead it give me long http get query?

.exec(http("request_2")
        .get("""/computers?f=macbook""")
        .headers(headers_0))

Do I have to convert this long http get string into a version with query params like this. It does not seem a problem in this example but sometimes get query can be realy long.

.exec(http("Search")
  .get("/computers")
  .queryParam("""f""", """macbook"""))

In the previous version it can successfully convert the request into queryparams version

Has anyone experience this? I am aware that It can convert post requests with parameters successfully.

1

1 Answers

0
votes

Both forms are equivalent. We changed for recording as query for conciseness.