Skip to main content
Version: 1.x

Interface: ODataTraceEntry

Defined in: src/reporters/odata-trace-reporter.ts:67

A single OData HTTP request captured during test execution.

Example

const entry: ODataTraceEntry = {
testTitle: 'should load products',
timestamp: '2026-01-15T10:30:00.000Z',
method: 'GET',
url: '/sap/opu/odata/sap/API_PRODUCT/A_Product?$top=10',
entitySet: 'A_Product',
queryParams: { top: 10 },
statusCode: 200,
duration: 150,
responseSize: 4096,
isBatch: false,
isMetadata: false,
};

Properties

duration

readonly duration: number

Defined in: src/reporters/odata-trace-reporter.ts:82


entitySet

readonly entitySet: string | null

Defined in: src/reporters/odata-trace-reporter.ts:72


isBatch

readonly isBatch: boolean

Defined in: src/reporters/odata-trace-reporter.ts:84


isMetadata

readonly isMetadata: boolean

Defined in: src/reporters/odata-trace-reporter.ts:85


method

readonly method: string

Defined in: src/reporters/odata-trace-reporter.ts:70


queryParams

readonly queryParams: object

Defined in: src/reporters/odata-trace-reporter.ts:73

expand?

readonly optional expand: string

filter?

readonly optional filter: string

orderby?

readonly optional orderby: string

select?

readonly optional select: string

skip?

readonly optional skip: number

top?

readonly optional top: number


responseSize

readonly responseSize: number

Defined in: src/reporters/odata-trace-reporter.ts:83


statusCode

readonly statusCode: number

Defined in: src/reporters/odata-trace-reporter.ts:81


testTitle

readonly testTitle: string

Defined in: src/reporters/odata-trace-reporter.ts:68


timestamp

readonly timestamp: string

Defined in: src/reporters/odata-trace-reporter.ts:69


url

readonly url: string

Defined in: src/reporters/odata-trace-reporter.ts:71