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

POST request validation available?


#1

Hi,

although I’m sure this is not possible, I was wondering whether there is a way to validate ones POST request.

My scenario is that I like to send POST request for my groovy client (or any other client I make), without having really any change to my cloud instance. I do have a test project for this, but it would be sooo great to be able to send a POST request and get back whether this would be successful - so to say, I dry run.

Any chance for that ?

Cheers
Andreas


#2

Hello Andreas,

Thanks for your posting! A test-only/dry-run mode is currently not available for the API, but you could look into using a separate test project for this (as you already do). All POST/write-based API methods are executed in the context of a project (or target a project), so using a test project would work really well.

Cheers,
Tobias