DocumentCode
604065
Title
Generating Open API Usage Rule from Error Descriptions
Author
Chushu Gao ; Jun Wei
Author_Institution
Inst. of Software, Beijing, China
fYear
2013
fDate
25-28 March 2013
Firstpage
245
Lastpage
253
Abstract
Open API platform is a trend for many leading social networks and e-business internet enterprises to publish services. The third-party developers can build their own applications interacting with Open platform via the Open API. The APIs have rules on the acceptable value of parameters. However, these rules are often not documented formally or explicitly. Developers may not realize these rules until error is exposed in the runtime. The application will experience robustness problem due to these unhandled errors. Developers using Open API can only handle these errors in a trial-and-error manner when API invocation returning error messages. In this paper, we present an approach to generate Open API usage rules from the error description. It can generate useful API usage rules related to the parameters if the Open API platforms have detailed error descriptions in their documentations. These rules help developers to be aware of the potential error-leading API usage in the development stage of the Open API based applications.
Keywords
Internet; application program interfaces; business data processing; error handling; social networking (online); API invocation; Open API based application; Open API platform; Open API usage rule generation; Open platform; e-business Internet enterprise; error description; error handling; error message; robustness problem; service publishing; social networks; system documentation; third-party developers; Electronic mail; Generators; Java; Libraries; Robustness; Runtime; Testing; API usage rule; Error description; Open API; Services;
fLanguage
English
Publisher
ieee
Conference_Titel
Service Oriented System Engineering (SOSE), 2013 IEEE 7th International Symposium on
Conference_Location
Redwood City
Print_ISBN
978-1-4673-5659-6
Type
conf
DOI
10.1109/SOSE.2013.32
Filename
6525527
Link To Document