usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
27.56k stars 1.27k forks source link

"request" keyword in postman "collection" level tests and scripts not translated #3506

Open csbandi opened 2 days ago

csbandi commented 2 days ago

I have checked the following:

Describe the bug

When importing postman collection, the collection level tests and scripts were partially translated. The keyword "request" in scripts does not get translated and we received an error, "Error invoking remote method 'send-http-request': ReferenceError: request is not defined" , "request: should have been translated to "req" . Response has been translated to"res".

Attached a psotman sample collection for translate and verifying Test_bruno_migration.postman_collection.json

.bru file to reproduce the bug

No response

Screenshots/Live demo link

image