def list1 = [1299, 3099] def list2 = [1299.0, 3099.0] assert list1 == list2, 'both lists are not matching'
Have you tried as above?
@_lauren11 : As i can see in your question's screenshot, you are converting into String, so try to covert into List.
Hope this will work.
Click "Accept as Solution" if my answer has helped, and remember to give "kudos" 🙂 ↓↓↓↓↓
I replied in my previous comment that, i then converted list 1 response into decimal form., as list 2 was already in decimal kind of notation. After that, I applied assert. 🙂