Skip to content

← All questions

Why did my API scenario write posts.api.har and not posts.har?

Asked 9,870 views2 answers

Same tag, same command shape as the UI one, different filename. After recording:

text
projects/demo-shop/har/staging/products.har        926K   <- the @ui scenario
projects/demo-shop/har/staging/products.har.json     205
projects/demo-shop/har/staging/posts.api.har       97K    <- the @api scenario
projects/demo-shop/har/staging/posts.har.json        149

There is no posts.har. I assumed the extension was a typo somewhere until I went looking for the file by hand and could not find it. Is .api.har a different format, and why does the sidecar drop the .api but the recording keeps it?

asked by Bea Lindqvist4,318 ·

2 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related