You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by GitBox <gi...@apache.org> on 2022/12/08 17:46:29 UTC
[GitHub] [jmeter] kubby07 opened a new issue, #5745: JMeter 5.5: JSON Assertion fails when string is an Integer
kubby07 opened a new issue, #5745:
URL: https://github.com/apache/jmeter/issues/5745
### Expected behavior
[https://stackoverflow.com/questions/74536638/jmeter-5-5-error-with-assertion-value-type-string-not-equal-to-int](url)
### Actual behavior
JMeter fails the JSON Assertion
### Steps to reproduce the problem
Add a JSON Assertion on a field that is an integer i.e.
{
"person": {
"age": "8"
}
}
### JMeter Version
5.5
### Java Version
19
### OS Version
Windows 10
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [jmeter] vlsi commented on issue #5745: JMeter 5.5: JSON Assertion fails when string is an Integer
Posted by "vlsi (via GitHub)" <gi...@apache.org>.
vlsi commented on issue #5745:
URL: https://github.com/apache/jmeter/issues/5745#issuecomment-1577096290
Even though JMeter is typically String-typed, I think JSON Assertion does provide the necessary means for creating both "is 5 numeric" and "is 5 text" assertions.
So I think we should keep this as a known behaviour, we could probably document it better, and we could probably make the error message more meaningful (e.g. explicitly mention which value has which type)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [jmeter] vlsi commented on issue #5745: JMeter 5.5: JSON Assertion fails when string is an Integer
Posted by "vlsi (via GitHub)" <gi...@apache.org>.
vlsi commented on issue #5745:
URL: https://github.com/apache/jmeter/issues/5745#issuecomment-1555763924
Caused by https://github.com/apache/jmeter/issues/5534#issuecomment-1256811623
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org