Releases: AnWeber/httpyac
Releases · AnWeber/httpyac
v6.3.2
Fixes
# @import
imports variables of *.http files (AnWeber/vscode-httpyac#184)- setSource uses correct startOffset (AnWeber/httpbook#82)
v6.3.1
v6.3.0
Breaking Changes
- some utils functions are removed and added directly to httpRegion (e.g isGlobalHttpRegion)
Features
Fixes
v6.2.1
v6.2.0
Features
- allow sending body in GET Request (AnWeber/vscode-httpyac#179)
- allow import of files into variable (AnWeber/vscode-httpyac#180)
- allow setting global var with variable notation (AnWeber/vscode-httpyac#180)
Fixes
- GRPC Request needs to be object instead of Buffer/string (#407)
v6.1.0
v6.0.0
Breaking Changes
- Protocol Specific Request Clients are replaced with generic interface RequestClient (
$requestClient
). - to access previous Client you can use
$requestClient.nativeClient
- removed Variables: amqpClient, amqpChannel, grpcStream, mqttClient, websocketClient
- requireUncached is removed
Features
- use
$requestClient.send(<body>)
to send string or Buffer with current client. Add EventListener$requestClient.on('message', (response) => ...)
to access respones of client
MQTT tcp://broker.hivemq.com
topic: httpyac
{{@streaming
async function writeStream(){
await sleep(1000);
$requestClient.on("message", (response) => {
console.info(response);
});
$requestClient.send("find me");
await sleep(1000);
$requestClient.send("wait for response");
await sleep(1000);
}
exports.waitPromise = writeStream();
}}
- extended and simpler assert logic (docs)
GET https://httpbin.org/anything
?? status == 200
- multiple specification of request body per response (like Intellij Request Body separator)
MQTT tcp://broker.hivemq.com
topic: httpyac
Send one
===
Send two
=== wait-for-server
=== wait-for-server
Send three
- websocket requests with same url as a websocket request are requested with the same url. You can keep a WebSocket Client open and send additional requests.
# @keepStreaming
wss://scrumpoker.foo
###
wss://scrumpoker.foo
["CONNECT\naccept-version:1.1,1.0\nheart-beat:10000,10000\n\n\u0000"]
===
["SUBSCRIBE\nid:sub-0\ndestination:/user/topic/username\n\n\u0000"]
===
["SUBSCRIBE\nid:sub-1\ndestination:/user/topic/notification\n\n\u0000"]
===
["SUBSCRIBE\nid:sub-3\ndestination:/topic/setting/cardset/{{roomId}}\n\n\u0000"]
===
["SEND\ndestination:/ws/room/register\n\n{\"roomID\":\"{{roomId}}\"}\u0000"]
===
["SEND\ndestination:/ws/user/username\n\n{\"username\":\"httpyac\"}\u0000"]
###
wss://scrumpoker.foo
["SEND\ndestination:/ws/room/{{roomId}}/estimate\n\n{\"estimation\":\"5\"}\u0000"]
- add parallel option to cli and test runner to execute requests in parallel.
- process each line of an event stream like Intellij (see)
- add
proxyExcludeList
config to exclude some url from proxy calls (AnWeber/vscode-httpyac#176)
Fixes
- no-redirect did not prevent redirect (AnWeber/vscode-httpyac#171)
private.env.json
settings overrides otherenv.json
settings to be Intellij compatible (AnWeber/vscode-httpyac#175)
v5.10.2
v5.10.1
v5.10.0
Features
- add Intellijj Http Graphql Method support (AnWeber/vscode-httpyac#165)
- update Intellijj Dynamic Variables
- add Intellij PreRequest Script Support
- add
$random
Utils to create Mock Data