Forum Discussion

william_roe's avatar
william_roe
Super Contributor
11 years ago
Solved

Sharing Project File While Designing

We are trying to design tests using a share project file (pjs) on the server but battling conflicts between developers. It seems to happen if a node is enabled or disabled or a new name mapping is cre...
  • rupert_anderson's avatar
    rupert_anderson
    10 years ago

    Hi,

     

    Thanks for the edit to your question, but I think my answer is still just as relavent? Alhough the first option I suggested is probably overkill, how about just doing a Script Assertion as per my second suggestion?

    Or perhaps I am missing something, but say you have TestSteps like:

     

    1. Goovy TestStep with

    context["argument"]="abcdef" //set initial value of your parameter

    2. REST Request TestStep

     

    In your Contains Assertion you can use ${=argument.toUpperCase()} to look for ABCDEF?

     

    Also in your Contains Assertion, its less exact, but you could even tick 'ignore case' e.g.

     

     

     

    Is this on the right track for what you want?

     

    Cheers,

    Rupert