Representational state transfer request routing
US-9736231-B1 · Aug 15, 2017 · US
US10223239B1 · US · B1
| Field | Value |
|---|---|
| Publication number | US-10223239-B1 |
| Application number | US-201615282852-A |
| Country | US |
| Kind code | B1 |
| Filing date | Sep 30, 2016 |
| Priority date | Sep 30, 2016 |
| Publication date | Mar 5, 2019 |
| Grant date | Mar 5, 2019 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
One embodiment is related to a method for testing representational state transfer (REST) application program interfaces (APIs), comprising: parsing service specification files; prompting, based on the service specification files, a user to select a resource to be tested and to provide relevant request payload field inputs; receiving resource selection and request payload field inputs from the user; converting the request payload field inputs into JavaScript Object Notation (JSON) and/or Extended Markup Language (XML) data; submitting the JSON and/or XML data to a web services host with a hypertext transfer protocol (HTTP) REST request; receiving a response from the web services host in a form of JSON and/or XML data; and presenting the response to the user.
Opening claim text (preview).
What is claimed is: 1. A method for testing representational state transfer (REST) application program interfaces (APIs), comprising: parsing service specification files to obtain a list of one or more resources of a web service, each resource being associated with one or more applicable methods; prompting, based on the service specification files, a user to select a resource from the list of the one or more resources and a method associated with the resource to be tested and to provide relevant request payload field inputs; receiving resource and method selection and request payload field inputs from the user; converting the request payload field inputs into JavaScript Object Notation (JSON) and/or Extended Markup Language (XML) data; submitting, using the user-selected method to be tested, the JSON and/or XML data to a web services host with a hypertext transfer protocol (HTTP) REST request; receiving a response from the web services host in a form of JSON and/or XML data; and presenting the response to the user. 2. The method of claim 1 , wherein the service specification files comprise a Web Application Description Language (WADL) file and an XML schema file. 3. The method of claim 1 , wherein the service specification files are parsed with a jQuery library. 4. The method of claim 1 , wherein interactions with the user are through a web browser. 5. The method of claim 1 , wherein presenting the response to the user comprises converting the response to a hypertext markup language (HTML) document. 6. The method of claim 1 , wherein the request payload field inputs are received from the user in a Strict mode. 7. The method of claim 1 , wherein the request payload field inputs are received from the user in a Free Format mode. 8. A non-transitory machine-readable medium having instructions stored therein which, when executed by a processor, cause the processor to perform testing operations, the operations comprising: parsing service specification files to obtain a list of one or more resources of a web service, each resource being associated with one or more applicable methods; prompting, based on the service specification files, a user to select a resource from the list of the one or more resources and a method associated with the resource to be tested and to provide relevant request payload field inputs; receiving resource and method selection and request payload field inputs from the user; converting the request payload field inputs into JavaScript Object Notation (JSON) and/or Extended Markup Language (XML) data; submitting, using the user-selected method to be tested, the JSON and/or XML data to a web services host with a hypertext transfer protocol (HTTP) REST request; receiving a response from the web services host in a form of JSON and/or XML data; and presenting the response to the user. 9. The non-transitory machine-readable medium of claim 8 , wherein the service specification files comprise a Web Application Description Language (WADL) file and an XML schema file. 10. The non-transitory machine-readable medium of claim 8 , wherein the service specification files are parsed with a jQuery library. 11. The non-transitory machine-readable medium of claim 8 , wherein interactions with the user are through a web browser. 12. The non-transitory machine-readable medium of claim 8 , wherein presenting the response to the user comprises converting the response to a hypertext markup language (HTML) document. 13. The non-transitory machine-readable medium of claim 8 , wherein the request payload field inputs are received from the user in a Strict mode. 14. The non-transitory machine-readable medium of claim 8 , wherein the request payload field inputs are received from the user in a Free Format mode. 15. A data processing system, comprising: a processor; and a memory coupled to the processor storing instructions which, when executed by the processor, cause the processor to perform testing operations, the operations including parsing service specification files to obtain a list of one or more resources of a web service, each resource being associated with one or more applicable methods; prompting, based on the service specification files, a user to select a resource from the list of the one or more resources and a method associated with the resource to be tested and to provide relevant request payload field inputs; receiving resource and method selection and request payload field inputs from the user; converting the request payload field inputs into JavaScript Object Notation (JSON) and/or Extended Markup Language (XML) data; submitting, using the user-selected method to be tested, the JSON and/or XML data to a web services host with a hypertext transfer protocol (HTTP) REST request; receiving a response from the web services host in a form of JSON and/or XML data; and presenting the response to the user. 16. The data processing system of claim 15 , wherein the service specification files comprise a Web Application Description Language (WADL) file and an XML schema file. 17. The data processing system of claim 15 , wherein the service specification files are parsed with a jQuery library. 18. The data processing system of claim 15 , wherein interactions with the user are through a web browser. 19. The data processing system of claim 15 , wherein presenting the response to the user comprises converting the response to a hypertext markup language (HTML) document. 20. The data processing system of claim 15 , wherein the request payload field inputs are received from the user in a Strict mode. 21. The data processing system of claim 15 , wherein the request payload field inputs are received from the user in a Free Format mode.
based on web technology, e.g. hypertext transfer protocol [HTTP] · CPC title
Physics · mapped topic
Physics · mapped topic
Test management · CPC title
Environments for analysis, debugging or testing of software · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.