Open githubble01 opened 7 years ago
I was able to reproduce the issue only if I have cukes.url_encoding_enabled=true
in cukes.properties.
Can you doublecheck that cukes.properties is in the correct place? (Usually it's inside src/test/resources)
Hi Sergey,
The cukes.properties is in src/test/resources.
Greets, Georg
2017-08-03 9:18 GMT+02:00 Sergey Trasko notifications@github.com:
I was able to reproduce the issue only if I have cukes.url_encoding_enabled=true in cukes.properties.
Can you doublecheck that cukes.properties is in the correct place? (Usually it's inside src/test/resources)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ctco/cukes/issues/74#issuecomment-319889238, or mute the thread https://github.com/notifications/unsubscribe-auth/ABgPAuBgThLto3k4r8Hwd_VT8aaKeHbyks5sUXRZgaJpZM4NfZkc .
Hi!
Really like cuke-rest. While writing a test for the JIRA API I think I encountered a bug though...
It seems like the queryParam
Type=Shipment AND createdDate>=-1d
is encoded "once more" before put in the URL (the%
is encoded to%25
and+
is encoded to%2B
).Query params: jql=Type%3DShipment+AND+createdDate%3E%3D-1d
ButRequest Url: http://40.68.84.149:8080/rest/api/2/search?jql=Type%253DShipment%2BAND%2BcreatedDate%253E%253D-1d
Se also full log snippet.
test.feature
cukes.properties
Log snippet.