Forget Restclient and Embrace Postman for Rest API testing

1. Background

Yesterday, one of our clients mentioned he uses Postman for testing our Restful API.

Then, I added the app to my chrome, astonishing look and easy to use, really a contemporary and stylish alternative for restclient, perfect replacement.

2.Noteworthy

2.1 SSL self signed certificate

In our testing environment, the SSL certificate is self designed.

Follow Postman's doc guide, export the certificate file from the browser and import it to  Trusted Root Certificate Authorities.

However, even I followed the guide step by step, I still can't get response in Postman.

At last, I found we have to click the link(proceed to xxx (unsafe)) in chrome before issuing requests in Postman.

Forget Restclient and Embrace Postman for Rest API testing_第1张图片

Forget Restclient and Embrace Postman for Rest API testing_第2张图片


2.2 HTTP Compression

I found when we set the Accept-Encoding to 'GZIP', the server will get 'gzip, deflate, sdch', I guess the Postman did some automatic conversion. This caused one of our customers complaint.

你可能感兴趣的:(REST,POSTMAN)