Forum Discussion

ASivula's avatar
ASivula
Occasional Contributor
12 years ago

Saving message content assertion fails sometimes

I have noticed few times problem when changing / updating only message content assertions from the SoapUI Project. Everything seems to be in order when clicking "Save all projects" but when putting it to the version control and taking it back you have lost some changes or even all of them.

2 Replies

  • ASivula's avatar
    ASivula
    Occasional Contributor
    1. Run test -> Message Content Assertion gives failed due of some value
    2. Fix Message content assertion -> Change string expected value from 764455 to 0 and change operator from = to <.
    --> Row stays red?

    Why 0 is not smaller than 764455 on the string field?

    Row color changes to black if changing first operator != and then back to <.
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    These operators (<, <=, >, >=) are not really supported for Strings.

    Those operators work for in, float etc. But if you have a strong use case where you need to use those comparison operators with String then please let us know.

    //Shadid
    SmartBear Sweden