cancel
Showing results for 
Search instead for 
Did you mean: 

Seeking steps for installing "HTTPBuilder" in ReadyAPI 2.7.0 Pro

SOLVED
Dear Community, API Masterminds week 4 has started!

Participate in the exciting online event by posting questions or replies and win! During the entire March, we decide top contributors each week and reward them with great gifts . Congratulate the winners of Week 3 here.
Week 4 task: Ask more questions, bring interesting topics and reply to existing ones in the ReadyAPI Community
Topics to participate in:
See All
Week 4 Leaders:
Members with the biggest number of posts
HimanshuTayal 17 posts
nmrao 15 posts
richie 2 posts
pizzaTime 1 posts
PratikshaMehete 1 posts
Highlighted
New Contributor

Seeking steps for installing "HTTPBuilder" in ReadyAPI 2.7.0 Pro

To support legacy test code, we need to importfiles from "HTTPBuilder" and "Restassured" such as the statements below. Can anyone provide step by step inetrsuctions for doing that effectivley in ReadyAPI 2.7.0 Pro. 

 

Examples:

import groovyx.net.http.HTTPBuilder
import static groovyx.net.http.Method.GET
import static groovyx.net.http.ContentType.JSON
io.restassured.RestAssured.*
io.restassured.matcher.RestAssuredMatchers.*
org.hamcrest.Matchers.*

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super Contributor

Re: Seeking steps for installing "HTTPBuilder" in ReadyAPI 2.7.0 Pro

I assume that you have the library jar files that provide the classes you require. The documentation page below explains how to add external library jar files to ReadyAPI:

 

https://support.smartbear.com/readyapi/docs/testing/scripts/about.html#external-java

View solution in original post

2 REPLIES 2
Super Contributor

Re: Seeking steps for installing "HTTPBuilder" in ReadyAPI 2.7.0 Pro

I assume that you have the library jar files that provide the classes you require. The documentation page below explains how to add external library jar files to ReadyAPI:

 

https://support.smartbear.com/readyapi/docs/testing/scripts/about.html#external-java

View solution in original post

Highlighted
New Contributor

Re: Seeking steps for installing "HTTPBuilder" in ReadyAPI 2.7.0 Pro

Thank you, Radford.

I think this will do it.

New Here?
Join us and watch the welcome video:
Join 2020 API Masterminds
We invite all lovers of API testing to participate in the API Masterminds event. Ask questions or help others by giving solutions and get rewarded.
>> Participate Today
Get Your Free Ticket
SBC2020
Top Kudoed Authors