DMc-Cabe
11 years agoOccasional Contributor
[Resolved] httpbuilder support?
Hi There
I'm trying to use httpbuilder to verify if certain urls which I'm passing into the get requests are valid. (I was hoping I could verify this by returning the header and asserting the page size) I have copied all of the appropriate jar file dependencies into bin/ext dir of soapUI pro but I'm still getting the following error when i execute my script
"Startup failed: Script6.groovy: 9: unable to resolve class groovyx.net.http.HTTPBuilder @ line 9, column 1. import groovyx.net.http.HTTPBuilder ^ org.codehaus.groovy.syntax.SyntaxException: unable to resolve class groovyx.net.http.HTTPBuilder @ line 9, column 1. at ...."
import groovyx.net.http.HTTPBuilder
import static groovyx.net.http.Method.*
import static groovyx.net.http.ContentType.*
any suggestions on what else i could try in order to get this working please?
alternatively, could you suggest any other method for me to pass multiple different urls which have extracted from json nodes in a search response, so that I can verify that each url resolves to a valid html page?
I'm trying to use httpbuilder to verify if certain urls which I'm passing into the get requests are valid. (I was hoping I could verify this by returning the header and asserting the page size) I have copied all of the appropriate jar file dependencies into bin/ext dir of soapUI pro but I'm still getting the following error when i execute my script
"Startup failed: Script6.groovy: 9: unable to resolve class groovyx.net.http.HTTPBuilder @ line 9, column 1. import groovyx.net.http.HTTPBuilder ^ org.codehaus.groovy.syntax.SyntaxException: unable to resolve class groovyx.net.http.HTTPBuilder @ line 9, column 1. at ...."
import groovyx.net.http.HTTPBuilder
import static groovyx.net.http.Method.*
import static groovyx.net.http.ContentType.*
any suggestions on what else i could try in order to get this working please?
alternatively, could you suggest any other method for me to pass multiple different urls which have extracted from json nodes in a search response, so that I can verify that each url resolves to a valid html page?