feat(tests): add URL serialization test case for Duplicate Keys

This commit is contained in:
Pragadesh-45
2025-06-19 20:34:43 +05:45
parent 0d13d40cd7
commit 04d0439c9d
2 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
meta {
name: Duplicate Keys
type: http
seq: 1
}
post {
url: https://echo.usebruno.com
body: formUrlEncoded
auth: none
}
headers {
Content-Type: application/x-www-form-urlencoded
}
body:form-urlencoded {
tags: frontend
tags: api
user: john
}
script:post-response {
test('Response body matches expected value', function () {
expect(res.getBody()).to.eql("tags=frontend&tags=api&user=john");
});
}

View File

@@ -0,0 +1,8 @@
meta {
name: url-serialization
seq: 13
}
auth {
mode: inherit
}