Hi, not being a programmer could anyone suggest a way to check if the property "apples" has a number rather than just null for example. So below is the result of running a test. I can easily ask SOAP to check if there is an item called "apples" but I have no idea how to ask if "apples" equals a numerical value- any value not just 111.
Solved! Go to Solution.
Is this a TestComplete question or a SoapUI question?
Just a matter of what tool you're using. If you're using TestComplete to exercise this test case, then you're in the right place. If you're using TestComplete to launch a SoapUI test, you might need to check with the SoapUI folks to see if they know better.
For my part... that text content reads like JSON to me where you have an object with a property called "CONTENT" which consists of another object with a property of "Apples" which has a value of 111.
if (CONTENT.Apples != '111') Log.Error('Nope');
Script Assertion technique is the most widely used technique since managing and maintaining hundreds of assertions are quite difficult for a long response message walgreenslistens
You can find the SoapUI Pro forum here: