apache / apache/jmeter

JMeter 5.5: JSON Assertion fails when string is an Integer

Open
#5,745 2 comments 0 reactions 0 assignees View on GitHub
defect help-wanted
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

### Expected behavior

https://stackoverflow.com/questions/74536638/jmeter-5-5-error-with-assertion-value-type-string-not-equal-to-int

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.