skillsoft
15 years agoFrequent Contributor
Updated documention for HTTP request?
Hi,
Is there any updated documentation for the HTTP request? The current documentation is current as of May and does not discuss the the new functionality that was added with 3.6. I'm looking to see if you can pass data via a property transfer or through Groovy scripting into a form on an HTTP Request. What I need to do is fill out the form with Company Name and Group code. The Seat Count and Collections(and seats) should be static. The raw html (and request tab) has the data that I'm feeding in, but I don't know how to make this data driven. What I need to do is generate a subscription id if one doesn't exist in a spreadsheet so the Company Name and Group Code would change each time.
Raw html:
POST https://secure.qa.books24x7.com/access/ssmcreate.asp HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/xml
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Host: secure.qa.books24x7.com
Content-Length: 91
name=test&group=test&seats=100&collection=KC8570&collseats=100&task=+Add+&collectionstring=
Thanks,
Mary
Is there any updated documentation for the HTTP request? The current documentation is current as of May and does not discuss the the new functionality that was added with 3.6. I'm looking to see if you can pass data via a property transfer or through Groovy scripting into a form on an HTTP Request. What I need to do is fill out the form with Company Name and Group code. The Seat Count and Collections(and seats) should be static. The raw html (and request tab) has the data that I'm feeding in, but I don't know how to make this data driven. What I need to do is generate a subscription id if one doesn't exist in a spreadsheet so the Company Name and Group Code would change each time.
Raw html:
POST https://secure.qa.books24x7.com/access/ssmcreate.asp HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/xml
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Host: secure.qa.books24x7.com
Content-Length: 91
name=test&group=test&seats=100&collection=KC8570&collseats=100&task=+Add+&collectionstring=
Thanks,
Mary