S
S
Snowindy2013-09-26 13:15:57
API
Snowindy, 2013-09-26 13:15:57

Functional testing of RESTful API

Prompt the utility for functional testing of RESTful API.

I want to cover it with functional tests along chains of use cases.

For example (for an imaginary blog API), run tests related to a common context in a chain (i.e., we process the returned variables):
1. creating a user,
2. creating a post by this user
3. publishing a post
4. Adding a

comment The testing utility was Java/Groovy, and tests could also be run from the command line.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Snowindy, 2013-09-27
@Snowwindy

The choice fell on JMeter:
- Can run tests from the GUI and CLI
- Can proxy and record all interactions over the network, eliminating the need to manually type request sequences
- Has wide support for built-in dynamic languages: Javascript, Groovy, etc.
- Any test can be turned into a load test in a few clicks
Tutorial on recording actions and creating tests:
www.youtube.com/user/MuthukumarJayakumar?feature=watch

R
Ravenous, 2013-09-26
@Ravenous

soapUI won't work? blog.goyello.com/2009/09/17/make-it-easy-test-it-easily-restful-web-services-with-java-and-soapui/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question