LinuxSuRen / api-testing

YAML based API testing tool. 开源接口调试、测试工具。Mock Server

Home Page:https://linuxsuren.github.io/api-testing/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support to generator JavaScript code from a HTTP testCase

LinuxSuRen opened this issue · comments

commented

Below is the Golang code generator.

https://github.com/LinuxSuRen/api-testing/blob/e05ff4b485e0c525ea7f78b4d653ddc230c5716e/pkg/generator/golang_generator.go
Similarly, we could add the Java code generator. Please feel free to do some research to find out how to make an HTTP request in JavaScript.

See others #112

I wanna try it out :)

commented

Great. Please go ahead.