com.greenmoonsoftware.tea.GreenTeaRestClient.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of green-tea-test Show documentation
Show all versions of green-tea-test Show documentation
A Groovy framework for functional testing rest services. Intended to help you relax while you REST.
package com.greenmoonsoftware.tea
import groovyx.net.http.RESTClient
import org.apache.http.client.HttpClient
import org.apache.http.params.HttpParams
class GreenTeaRestClient extends RESTClient {
GreenTeaRestClient(String s) {
super(s)
}
protected HttpClient createClient(HttpParams params) {
return new GreenTeaHttpClient(params)
}
def getRequest() {
def client = getClient()
println client.class
client.request
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy