Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

How to do regular expression in parasoft SOATEST

Nihar1991
Nihar1991 Posts: 52
edited May 2018 in Virtualize

Hi team,

Can anyone help me on this. i need to know some regularization in Parasoft while creating Virtual asset so in CTP after pointing it will work for some specific combination of data.

i need to do some regularization so that. correlation will be done and it will take data
like:
some specific number starting with 12 number of 0's and for that specific number.
eg: number = 12345..
so it should work for
00000000000012345 and 12345

Comments

  • keegan_chan
    keegan_chan Posts: 59 ✭✭

    If you're using correlations for the Response Body, it may be possible to code the regularization logic using XPath functions. If it is not, or if you are using other kinds of correlations, you would need to use Custom correlations to code your logic.