Sunday 18 November 2012

REST Sniffer cooperates with Advanced Rest Client

I'm happy to inform you that first application use Advanced Rest Client API to extend its functionality. REST Sniffer is an extension to debug API calls for Facebook, Twitter and whatever endpoint you define. When Sniffer recognize a request it displays it attributes in new tab in chrome inspector. There you can load the request in Advanced Rest Client application.

You can install REST Sniffer from Chrome Web Store https://chrome.google.com/webstore/detail/rest-sniffer/ifeiedjadmeabnlahklpafjbomkcklbj

Looking forward to hear feedback from you :)

Happy RESTing!

Tuesday 6 November 2012

Introduce: Magic Variables

In newest update you will be able to use the Magic Variables. Currently it is two special strings that will be replaced just before sending a request:

${random} - generate random number from 0 to java's Integer.MAX_VALUE
${now} - insert current time (in ms)

You can place it in the URL, in headers list or in payload.

Furthermore, if you like to group generated numbers and use the same generated value in more than one place you can use notation like:

${random:[group_number (int)]}

Each time where particular group occur it will be replaced with the same generated number. See an example:

Use of magic variables
As you can see I use regular ${random} and random with groups (1 and 2). The result is:



I hope you enjoy new feature.
Happy RESTing!