Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

[API] Multiline Comment


#1

Hi,

we have a REST API in plase, which is working fine so far.

At the moment we’re working on a project with complex automated tests,
therefore we have the need to create test results with multible lines.
Is there a possibility to add MANUAL line breaks?


#2

Hello Jonathan,

Thanks for your posting. Yes, you can add multi-line comments with the API and you only need to add line-breaks ("\n" or “\r\n”) to the text. How to implement this depends on the programming language you use and which API binding and language do you use?

Cheers,
Tobias


#3

Hi Tobias,

thanks for your responce.
We made it this way! Works like a charm :grinning:


#4

That’s great to hear, Jonathan :slightly_smiling:

Cheers,
Tobias