遇到类似实际值和预期值的munit故障。预期值和实际值均为json格式 但唯一不同的是它们的字节数组。实际值有419个字节,期望值有600个字节。你能帮我们解决这个问题吗?感谢
java.lang.AssertionError: The response payload is not correct! expected:<[
{
"type": "abc",
"customerAccount": "111",
"id": "ABC"
},
{
"type": "abc",
"customerAccount": "111",
"id": "ABC"
}
]> but was:<[
{
"type": "abc",
"customerAccount": "111",
"id": "ABC"
},
{
"type": "abc",
"customerAccount": "111",
"id": "ABC"
}
]>
at post:/products/search:application/json:api-config-200-application/json-FlowTest.munit:assert-on-equals{doc:name=assert that - payload is as expected, actualValue=[
{
"type": "abc",
"customerAccount": "111",
"id": "ABC"
},
{
"type": "abc",
"customerAccount": "111",
"id": "ABC"
}
], expectedValue=[
{
"type": "abc",
"customerAccount": "111",
"id": "ABC"
},
{
"type": "abc",
"customerAccount": "111",
"id": "ABC"
}
], message=The response payload is not correct!}(api-apikit-test.xml:31)