AnsweredAssumed Answered

How to convert section of Delimited Text to Magic string?

Question asked by Maddy007 on Jul 28, 2017
Latest reply on Jul 31, 2017 by Maddy007

#

Greetings Team,

 

 

 

I am building a JMS based Virtual service for Performance testing and request response message is in Delimited text format with "/" as the delimiter.

 

 

 

The VS is being built via Request-Response pairs method and have selected "Line Delimited" as the delimiter type.

 

 

 

Sample Request

 

AAAAAAAA
.BBBBBB
***
NEMDEF
000-001122334455-000000000000
YYY/UUU/Y6/M00.0/COOKS
SSS/ABC1234/25JUL
DLH/FIRSTNAME
/ASHOK KARNATAMIL

 

 

 

Sample Response

 

.BBBBBB 2336355
***
ABC1234/25JUL
000-001122334455-000000000000
ERR/ERROR DESCRIPTION

 

 

 

Highlighted italic content needs to be set as magic string, when Line Delimited type is used "ABC1234/25JUL" is not converted into magic string. If List of Values with "/" as the delimiter is used "000-001122334455-000000000000" is not converted into magic string.

 

 

 

Please let me know how to overcome this situation.

 

 

 

Thanks in advance.

Outcomes