Is reusing rest-assured tests with JMeter a good idea?

585 views
Skip to first unread message

David Vydra

unread,
Oct 12, 2015, 6:44:02 PM10/12/15
to REST assured
We have a debate on my team of whether to use JMeter for functional testing? One of the main goals is avoid duplicating REST API calls. I prefer rest-assured. I think there is a way to call rest-assured from JMeter, but is that a good idea? Has anyone tried this? Are there perf problems we may encounter?

Thanks,
David

Johan Haleby

unread,
Oct 13, 2015, 12:42:23 AM10/13/15
to rest-a...@googlegroups.com
Hi David, 

I've only used JMeter for performance and scalability testing and if that's your goal (i.e. you're looking for speed) REST Assured might not be the best option. REST Assured is probably a bit slower than using Apache Http Client directly (you can tweak it using for example ConnectionConfig and HttpClientConfig) . But if speed is not the primary concern I think the using REST Assured from JMeter should be fine.

Regards,
/Johan

--
You received this message because you are subscribed to the Google Groups "REST assured" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rest-assured...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mir...@neodonis.com

unread,
Jan 12, 2016, 9:46:32 PM1/12/16
to REST assured
Hi David,

How did you call Rest-Assured tests from JMeter? I'd like to do that in order to be in control of potential performance degradation over long development periods (a number of sprints). I'd still use tests without assertions for "pure" performance bench-marking. 

Thanks,
mircea

David Vydra

unread,
Jan 13, 2016, 9:07:01 PM1/13/16
to rest-a...@googlegroups.com
JMeter can eec a shell command. We package our tests into a 'fat' jar with spring boot maven plugin.

--
You received this message because you are subscribed to a topic in the Google Groups "REST assured" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rest-assured/Kb8YFi1IWt4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rest-assured...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages