-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: Implement request transformation between HAR and Firecamp formats #115
Comments
Hey @Nishchit14 would like to contribute , though I have not much knowledge about the above issue. |
The business logic of this feature is around HAR and Firecamp API Request transformation. Firecamp Rest Request and HAR both have JSON format. We need to create two transformer functions Converts formats
Getting started steps would be
for any kind of help feel free to ask on Discord's contribution channel. ReferenceHAR Firecamp firecamp/packages/firecamp-cli/test/data/restEchoServer.firecamp_collection.json Lines 124 to 190 in d43e50d
TS: https://github.com/firecamp-dev/firecamp/blob/main/packages/firecamp-types/src/requests/rest/request.ts#L17C25-L17C25
cc: @RISHIKESHk07 |
@Nishchit14 are you asking to implement a toll to convert a har to fire format and vice verse? |
@jatingodnani yes, format conversion from HAR to Firecamp and Firecamp to HAR. |
@Nishchit14 where to implement this |
@jatingodnani please read this #115 (comment), specific this section |
|
@Nishchit14 check this above |
@jatingodnani Refer this #120 (comment) I appreciate your efforts to understand this issue. I need some time to prepare a minimum package so you can start. also the HAR <=> Firecamp comparison looks good at first sight but I prefer to have json in PR so I can review it properly. |
@Nishchit14 can you pls checkk and review is it correct conversion |
@jatingodnani yes, it looks correct. |
@Nishchit14 i am ready to take this issue. |
Description:
Firecamp currently does not have the ability to transform HTTP request/response data between the HAR (HTTP Archive) format and Firecamp's internal request format.
This feature request is to implement bidirectional conversion:
This will allow:
The implementation should include:
This feature will enable better interoperability with external tools for importing and exporting HTTP request data.
Resources
The text was updated successfully, but these errors were encountered: