Skip to main content

Interface: ODataTraceEntry

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

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:71


entitySet​

readonly entitySet: string | null

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


isBatch​

readonly isBatch: boolean

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


isMetadata​

readonly isMetadata: boolean

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


method​

readonly method: string

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


queryParams​

readonly queryParams: object

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

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:72


statusCode​

readonly statusCode: number

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


testTitle​

readonly testTitle: string

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


timestamp​

readonly timestamp: string

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


url​

readonly url: string

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