For example
ATF test step
ATF test step 1. post method to created incident task:
Response body
{"result":{"code":201,"status":"success","body":{"message": "Successfully created record TASK0000001 in ServiceNow","number":"TASK0000001","parentIncid...
1.Test is a single line text variable. for example if i enter any ip range value(0.1.1.1 -25.5.5.5). its check the range and validate it.
2.if i enter incorrect(fsdfasf-11.1.1.1) ,(300.299.1.0) populate alert msg(please give valid ip range)
I have written client script to validate Ip range using ip address(IPV4) regex.
I divided two ip address as string separated by "-";
stored srt1 and srt2 to values in var a (used replace function to remove dots make it as a single string (a))
nd...
Not working. it is validating only one address.
requirement valid iprange ( 1.1.1.1 -255.255.255.255 )
ip range((0-255) -(0-255))
incorrect ip address range(359.1.1.1 -255.255.255.555)
359 is greater than 255 and 555 is greater than 255
Not working.
requirement valid iprange ( 1.1.1.1 -255.255.255.255 )
ip range((0-255) -(0-255))
incorrect ip address range(359.1.1.1 -255.255.255.555)
359 is greater than 255 and 555 is greater than 255