package
0.0.0-20250227233008-6305ea83e4e1
Repository: https://github.com/bhatti/api-mock-service.git
Documentation: pkg.go.dev

# Functions

ConvertHarToScenarios builds scenarios from HAR log.
ConvertScenariosToHar extracts http request and builds HAR log.

# Structs

Har is a container type for deserialization.
HarBrowser that created the log.
HarCache contains info about a request coming from browser cache.
HarCacheObject is used by both beforeRequest and afterRequest.
HarCookie contains list of all cookies (used in <request> and <response> objects).
HarCreator contains information about the log creator application.
HarEntry is a unique, optional Reference to the parent page.
HarLog represents the root of the exported data.
HarPage object for every exported web page and one <entry> object for every HTTP request.
HarPostData describes posted data, if any (embedded in <request> object).
HarPostParam is a list of posted parameters, if any (embedded in <postData> object).
HarRequest contains detailed info about performed request.
HarResponse contains detailed info about the response.
HarResponseContent describes details about response content (embedded in <response> object).
NVP is simply a name/value pair with a comment.
PageTiming describes timings for various events (states) fired during the page load.
PageTimings describes various phases within request-response round trip.