Debian Codegraph @

testing/web-platform/tests/tools/wave/docs/rest-api/tests-api/read-malfunctioning.md

raw
1 # `read malfunctioning` - [Tests API](../README.md#tests-api)
2
3 The `read malfunctioning` method of the tests API returns a list of test files, which were flagged as not working properly in a specific session. This is useful to [add them to the exclude list](../../usage/excluding-tests.md) of further test sessions.
4
5 ## HTTP Request
6
7 `GET /api/tests/<session_token>/malfunctioning`
8
9 ## Response Payload
10
11 ```json
12 "Array<String>"
13 ```
14
15 ## Example
16
17 **Request:**
18
19 `GET /api/tests/7dafeec0-c351-11e9-84c5-3d1ede2e7d2e/malfunctioning`
20
21 **Response:**
22
23 ```json
24 [
25 "/apiOne/test/one.html",
26 "/apiOne/test/five.html",
27 "/apiThree/test/two.html",
28 "/apiThree/test/twenty.html"
29 ]
30 ```