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 extract values from request xml and write those values in the output file
Hi,
I am looking to extract the values from request xml and write the extracted values to the output file.
Could you please help to achieve this requirement.
For ex:
created
Meter1
2.0
2023-08-21T06:27:04Z
It should extract the values from xml like as below write in the output file
created, Meter1, 2.0, 2023-08-21T06:27:04Z
Tagged:
0
Answers
-
I suggest using an XML Data Bank to extract the values.
See https://docs.parasoft.com/display/SVC20231/XML+Data+BankThen use a Write File Tool to write the extracted values to a file.
See https://docs.parasoft.com/display/SVC20231/Write+File0