Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » REST testing from Jubula
REST testing from Jubula [message #1758177] Fri, 24 March 2017 10:22 Go to next message
Kev James is currently offline Kev JamesFriend
Messages: 21
Registered: November 2014
Junior Member
Is it possible to make REST calls from a Jubula Test Case? The use case here is that I would run through the HTML UI to do some work (create a user, maybe) and then make a REST call to verify that the work has been performed (e.g. check existence of the new user).

The app I'm working with does have an HTML UI to check the existence of that user, but it's a ton of steps to navigate, do a search, check the various fields on the page, etc. I can validate same with one simple REST call.

Cheers,
KEv.
Re: REST testing from Jubula [message #1758371 is a reply to message #1758177] Tue, 28 March 2017 07:48 Go to previous messageGo to next message
Kevin Barbe is currently offline Kevin BarbeFriend
Messages: 64
Registered: July 2016
Member
Hi Kev,

this is not possible in Jubula by default but there would be three ways to do this:
- You could use execute external command and execute some sort of batch file or any other program that would make the required REST calls [1]. This would probably be the easiest way.
- Another way would be to write an extension which would add actions to execute and verify REST calls. [2] [3]
- Instead of adding actions you could also write your own functions to do the REST calls. [4]

Best regards,
Kevin

[1] https://testing.bredex.de/files/content/software/documentation/reference/actions/ch05s01s01s07.html
[2] https://testing.bredex.de/files/content/software/documentation/developerManual/toolkitExtension/ch03.html
[3] https://testing.bredex.de/files/content/software/documentation/developerManual/extensionWizard/ch05.html
[4] https://testing.bredex.de/files/content/software/documentation/developerManual/functions/ch06.html

[Updated on: Tue, 28 March 2017 07:48]

Report message to a moderator

Re: REST testing from Jubula [message #1758817 is a reply to message #1758371] Mon, 03 April 2017 13:39 Go to previous message
Kev James is currently offline Kev JamesFriend
Messages: 21
Registered: November 2014
Junior Member
Thanks Kevin,
The 'execute command' step doesn't seem to be available when executing browser-based tests (I looked on the 'Application' component type but it's not there). I'll look at the other routes.

Previous Topic:Jubula to Java Code
Next Topic:Using any Action as Condition within an if-then-else
Goto Forum:
  


Current Time: Fri Nov 16 06:09:43 GMT 2018

Powered by FUDForum. Page generated in 0.03150 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top