Session›Network log of a test session (Server 2)
Session
Network log of a test session (Server 2)
To fetch Network log that contains all the requested urls of a test session in plain json text.
Network log of a test session (Server 2) curl --request GET \
--url "https://manual-api.lambdatest.com/sessions/{session_id}/log/network" \
--header "Authorization: Basic <encoded-value>"
{
"_id": "uigakk12kbad",
"cache": {},
"startedDateTime": "2022-03-14T08:48:33.516688738Z",
"time": 0,
"timings": {
"receive": 0,
"send": 0,
"wait": 0
},
"request": {
"bodySize": 0,
"cookies": [
"<string>"
],
"headers": [
"<string>"
],
"headersSize": -1,
"httpVersion": "HTTP/1.1",
"method": "CONNECT",
"queryString": [
"<string>"
],
"url": "http://testing.com"
},
"response": {
"bodySize": 0,
"content": {
"encodeing": "base64",
"mimeType": "",
"text": "",
"size": 0
},
"cookies": [
"<string>"
],
"headers": [
"<string>"
],
"headersSize": -1,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
}
}
Authorizations
Authorizationstringheaderrequired
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
session_idstringrequired
get logs based on session id
Response
application/jsonsuccessful operation
timingsobject
timings.receivenumber
Example: 0
timings.sendnumber
Example: 0
timings.waitnumber
Example: 0
requestobject
request.bodySizenumber
Example: 0
request.headersSizenumber
Example: -1
request.httpVersionstring
Example: "HTTP/1.1"
request.methodstring
Example: "CONNECT"
request.queryStringstring[]
request.urlstring
Example: "http://testing.com"
responseobject
response.bodySizenumber
Example: 0
response.contentobject
response.headersSizenumber
Example: -1
response.httpVersionstring
Example: "HTTP/1.1"
response.redirectURLstring
Example: ""
response.statusnumber
Example: 200
response.statusTextstring
Example: "OK"
Network log of a test session (Server 2) curl --request GET \
--url "https://manual-api.lambdatest.com/sessions/{session_id}/log/network" \
--header "Authorization: Basic <encoded-value>"
{
"_id": "uigakk12kbad",
"cache": {},
"startedDateTime": "2022-03-14T08:48:33.516688738Z",
"time": 0,
"timings": {
"receive": 0,
"send": 0,
"wait": 0
},
"request": {
"bodySize": 0,
"cookies": [
"<string>"
],
"headers": [
"<string>"
],
"headersSize": -1,
"httpVersion": "HTTP/1.1",
"method": "CONNECT",
"queryString": [
"<string>"
],
"url": "http://testing.com"
},
"response": {
"bodySize": 0,
"content": {
"encodeing": "base64",
"mimeType": "",
"text": "",
"size": 0
},
"cookies": [
"<string>"
],
"headers": [
"<string>"
],
"headersSize": -1,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
}
}