Hi Akshit,
Yes, I think you are encountering an issue in the product with whitespace
at the end of an argument when regex is the comparison operator. I can't
get it to work either. You might want to create a support issue to get a
confirmation from support and/or engineering.
Using the other comparison operators there is no other way to equate
whitespace to my knowledge, so the only option I see left is to create a
match script to do the required matching.
Cheers,
Danny Saro
Client Services Consultant
Broadcom Software
-------------------------------------------------
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
Original Message:
Sent: 4/13/2022 6:04:00 AM
From: Akshit koul
Subject: RE: To include '+' in the request argument
Hi @Danny Saro
Thanks for the help.It works. Also is there a way to include whitespace. lets say if we have 2 scenarios a and a(whitespace).I tried a\s$ for latter , but the response is still getting fetched from the former(just the value a).
Else can we include whitespace without the use of regular expression just the equate option like value= a(whitespace) and stopping the space from getting trimmed
Regards
Akshit
Original Message:
Sent: Apr 12, 2022 04:04 PM
From: Danny Saro
Subject: To include '+' in the request argument
Hi Akshit,
Not sure if I completely understand the requirements but below is one regex
that should match your 3 values (and only those 3):
a$|a\+$|a\+b$
Haven't been able to test it specifically within DevTest itself, let us
know if there's any issue.
Cheers,
Danny Saro
Client Services Consultant
Broadcom Software
-------------------------------------------------
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
Original Message:
Sent: 4/12/2022 5:44:00 AM
From: Akshit koul
Subject: To include '+' in the request argument
Hi team
We have a requirement where we have 2 scenarios in get request with value a and a+ . When we are testing from soap and sending in the get request value=a+ , its getting treated as a(whitespace) , which then the vse i believe is trimming and matching with the scenario of value =a . i have tried sending in %2b the unicode of '+' character in soap but it is getting treated as it is %2b only and not getting convereted to '+' character. Could you please advise how can we send the + as it is.
Thanks
Akshit