Generating Mock Skeletons for Lightweight Web-Service Testing

10/21/2019
by   Thilini Bhagya, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/06/2019

RESTful API Automated Test Case Generation

Nowadays, web services play a major role in the development of enterpris...
research
05/02/2022

PSI Draft Specification

This document presents the draft specification for delivering machine le...
research
06/04/2023

DSL-driven Integration of HTTP Services in DIME

As the integration of web services into web applications becomes more an...
research
05/02/2023

Network Error Logging: HTTP Archive Analysis

Network Error Logging helps web server operators detect operational prob...
research
11/14/2022

Securing Access to Untrusted Services From TEEs with GateKeeper

Applications running in Trusted Execution Environments (TEEs) commonly u...
research
05/30/2019

XDoser, A Benchmarking Tool for System Load Measurement Using Denial of Service Features

Technology has developed so fast that we feel both safe as well as unsaf...
research
12/30/2022

Testing RESTful APIs: A Survey

In industry, RESTful APIs are widely used to build modern Cloud Applicat...

Please sign up or login with your details

Forgot password? Click here to reset