Skip to content

Commit 2227d77

Browse files
committed
Merge pull request aws#41 in VFS/bamboos from feature/VFS-1149-appmock-message-counter to develop
# By Łukasz Opioła # Via Łukasz Opioła * commit '5b82f729c327ddb36deab09d6c5dd02b4da377a5': VFS-1149, add new endpoint for all messages count VFS-1149, add new endpoint for all messages count
2 parents 63b7d98 + 5b82f72 commit 2227d77

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

example_env/example_app_description.erl

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,15 @@ rest_mocks() -> [
8686
tcp_server_mocks() -> [
8787
#tcp_server_mock{
8888
port = 5555,
89-
ssl = true
89+
ssl = true,
90+
% Erlang transport's packet option that will be passed to server initialization.
91+
packet = raw,
92+
% TCP mock can work in two modes:
93+
% history - it remembers exact history of incoming requests and can validate requests per message contents.
94+
% This mode is slow and dedicated for content verification rather that tests with many messages.
95+
% counter - the endpoint will ignore the content of incoming requests and only count them.
96+
% This mode is as fast as it gets.
97+
% NOTE: in history mode, it is also possible to check the count of all received requests.
98+
type = counter
9099
}
91100
].

0 commit comments

Comments
 (0)