0

I need to read the .txt file as raw text or by code to extract the data keyed in the test suite (resource/assertors,....). Is there any way to do that? by code or any editor.

Vignesh Prasad V
  • 419
  • 3
  • 17

1 Answers1

1

If you have binary format of tst file then there could be a problem, there is no official API to read it. It's very old format, I don't think that is still in use.

There could be also two, newest, formats of tst:

  • compressed XML
  • XML

In case of compressed XML you have to unzip it and then you have access to XML, where you can read it as text file. In case of XML, it's just XML, you can read it as pure text file. There is no official API which allows to read it in similar way as SOAtest's GUI to use in code i.e.: in Java.

  • You can try to use REST API exposed by SOAtest' server to read content of tst, however such approach allows you to check only files "managed by" that particular server. – szmyru - Irek Sz. Apr 17 '19 at 13:21
  • Thanks for the info. I was trying to open tst directly in notepad, renaming to .zip gave me a XML file! – Vignesh Prasad V Apr 19 '19 at 05:14