LinhSaysHi
LinhSaysHi

Reputation: 642

SoapUI - Removing timestamp from the script log

Is it possible to remove the time stamp from the script log in SoapUI? I am printing maybe important information there and the time stamp makes it look really messy. Tabbing and creating new lines using escape sequences do not properly format text in the script log so this approach is not possible

Upvotes: 0

Views: 764

Answers (1)

SiKing
SiKing

Reputation: 10329

SoapUI, out of the box, cannot turn off the timestamp in logs. This is a feature provided by log4j, which SoapUI utilizes for writing the logs. Further, this feature is highly desirable for searching relevant information from the logs.

One option is to create / utilize a script mechanism of your own, which logs only information that is relevant to you. Possibly just dumping relevant information into a .csv file, and then port-processing that with something like Excel.

Alternatively, you could use a tool such as awk (or any scripting language, even Groovy) to post-process the log file, extracting only the information that is relevant to you.

Upvotes: 1

Related Questions