Generating Mock Skeletons for Lightweight Web-Service Testing
Fuente:
arXiv
Saved in:
| Main Authors: | , , |
|---|---|
| Format: | Preprint |
| Published: |
2019
|
| Subjects: | |
| Online Access: | |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| _version_ | 1866917261139247104 |
|---|---|
| author | Bhagya, Thilini Dietrich, Jens Guesgen, Hans |
| author_facet | Bhagya, Thilini Dietrich, Jens Guesgen, Hans |
| contents | Modern application development allows applications to be composed using lightweight HTTP services. Testing such an application requires the availability of services that the application makes requests to. However, access to dependent services during testing may be restrained. Simulating the behaviour of such services is, therefore, useful to address their absence and move on application testing. This paper examines the appropriateness of Symbolic Machine Learning algorithms to automatically synthesise HTTP services' mock skeletons from network traffic recordings. These skeletons can then be customised to create mocks that can generate service responses suitable for testing. The mock skeletons have human-readable logic for key aspects of service responses, such as headers and status codes, and are highly accurate. |
| format | Preprint |
| id |
arxiv_https___arxiv_org_abs_1910_09159 |
| institution | arXiv |
| publishDate | 2019 |
| record_format | arxiv |
| spellingShingle | Generating Mock Skeletons for Lightweight Web-Service Testing Bhagya, Thilini Dietrich, Jens Guesgen, Hans Software Engineering Modern application development allows applications to be composed using lightweight HTTP services. Testing such an application requires the availability of services that the application makes requests to. However, access to dependent services during testing may be restrained. Simulating the behaviour of such services is, therefore, useful to address their absence and move on application testing. This paper examines the appropriateness of Symbolic Machine Learning algorithms to automatically synthesise HTTP services' mock skeletons from network traffic recordings. These skeletons can then be customised to create mocks that can generate service responses suitable for testing. The mock skeletons have human-readable logic for key aspects of service responses, such as headers and status codes, and are highly accurate. |
| title | Generating Mock Skeletons for Lightweight Web-Service Testing |
| topic | Software Engineering |
| url | https://arxiv.org/abs/1910.09159 |