Generated by TestNG with ReportNG at 22:44 PDT on Monday 14 September 2020
root@0645b6a256ba / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.484s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.712s
2020-09-14 22:59:12 |

2020-09-14 22:59:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-14 22:59:12 | ------------------------------------

2020-09-14 22:59:12 | [Mutex] isItemNotified: node_1whdpz0203:exists :: false

2020-09-14 22:59:12 | [Mutex] waiting for: [node_1whdpz0203:create_node]

2020-09-14 22:59:12 | [Mutex] received everything.

2020-09-14 22:59:12 | [Mutex] isItemNotified: node_1whdpz0203:create_node:success :: true

2020-09-14 22:59:12 | [Mutex] waiting for: [node_1whdpz0203:subscribe_node]

2020-09-14 22:59:12 | [Mutex] waiting for: [node_1whdpz0203:subscribe_node]

2020-09-14 22:59:12 | [Mutex] received everything.

2020-09-14 22:59:12 | [Mutex] isItemNotified: node_1whdpz0203:subscribe_node:success :: true

2020-09-14 22:59:12 |


===== publishing normal message (to online)


2020-09-14 22:59:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-14 22:59:12 | command: <data><node>node_1whdpz0203</node><entry><content>content_p4sh3p0204</content></entry></data>

2020-09-14 22:59:12 | target: http://localhost:8088

2020-09-14 22:59:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-14 22:59:12 | entity: <data><node>node_1whdpz0203</node><entry><content>content_p4sh3p0204</content></entry></data>

2020-09-14 22:59:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 05:59:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-14 22:59:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ee2b49ac-15ce-4b98-9350-205d015a3d8c</value></item-id></result>

2020-09-14 22:59:12 | contains: true

2020-09-14 22:59:12 | [Mutex] received everything.

2020-09-14 22:59:12 | [Mutex] isItemNotified: user_regular6z3i100202@test-domain.com:message:received:content_p4sh3p0204 :: true

2020-09-14 22:59:12 |


===== publishing already old message - expecting message being filtered out (to online)


2020-09-14 22:59:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-14 22:59:12 | command: <data><node>node_1whdpz0203</node><expire-at>2020-09-15T05:59:07Z</expire-at><entry><content>content_qs78f40205</content></entry></data>

2020-09-14 22:59:12 | target: http://localhost:8088

2020-09-14 22:59:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-14 22:59:12 | entity: <data><node>node_1whdpz0203</node><expire-at>2020-09-15T05:59:07Z</expire-at><entry><content>content_qs78f40205</content></entry></data>

2020-09-14 22:59:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 05:59:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-14 22:59:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>93491f96-6527-4681-aef0-141284a41a6c</value></item-id></result>

2020-09-14 22:59:12 | contains: true

2020-09-14 22:59:12 | [Mutex] waiting for: [user_regular6z3i100202@test-domain.com:message:received:content_qs78f40205]

2020-09-14 22:59:27 | [Mutex] timeout. Not received [user_regular6z3i100202@test-domain.com:message:received:content_qs78f40205]

2020-09-14 22:59:27 | [Mutex] isItemNotified: user_regular6z3i100202@test-domain.com:message:received:content_qs78f40205 :: false

2020-09-14 22:59:27 |


===== publishing normal message (to offline)


2020-09-14 22:59:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-14 22:59:27 | command: <data><node>node_1whdpz0203</node><entry><content>content_2nhf6r0206</content></entry></data>

2020-09-14 22:59:27 | target: http://localhost:8088

2020-09-14 22:59:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-14 22:59:27 | entity: <data><node>node_1whdpz0203</node><entry><content>content_2nhf6r0206</content></entry></data>

2020-09-14 22:59:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 05:59:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-14 22:59:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f931ff9c-24c8-43f8-af41-8eaf11abcf08</value></item-id></result>

2020-09-14 22:59:27 | contains: true

2020-09-14 22:59:32 | [Mutex] received everything.

2020-09-14 22:59:32 | [Mutex] isItemNotified: user_regular6z3i100202@test-domain.com:message:received:content_2nhf6r0206 :: true

2020-09-14 22:59:32 |


===== publishing already old message - expecting message being filtered out (to offline)


2020-09-14 22:59:32 | [Mutex] received everything.

2020-09-14 22:59:32 | [Mutex] isItemNotified: node_1whdpz0203:subscribe_node:success :: true

2020-09-14 22:59:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-14 22:59:32 | command: <data><node>node_1whdpz0203</node><expire-at>2020-09-15T05:59:37Z</expire-at><entry><content>content_mwbewm0207</content></entry></data>

2020-09-14 22:59:32 | target: http://localhost:8088

2020-09-14 22:59:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-14 22:59:32 | entity: <data><node>node_1whdpz0203</node><expire-at>2020-09-15T05:59:37Z</expire-at><entry><content>content_mwbewm0207</content></entry></data>

2020-09-14 22:59:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 05:59:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-14 22:59:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c86a011d-1dd3-4577-9825-16f4b40da1d6</value></item-id></result>

2020-09-14 22:59:32 | contains: true

2020-09-14 22:59:41 | [Mutex] waiting for: [user_regular6z3i100202@test-domain.com:message:received:content_mwbewm0207]

2020-09-14 22:59:41 | [Mutex] waiting for: [user_regular6z3i100202@test-domain.com:message:received:content_mwbewm0207]

2020-09-14 22:59:56 | [Mutex] timeout. Not received [user_regular6z3i100202@test-domain.com:message:received:content_mwbewm0207]

2020-09-14 22:59:56 | [Mutex] received everything.

2020-09-14 22:59:56 | [Mutex] isItemNotified: user_regular6z3i100202@test-domain.com:message:received:content_mwbewm0207 :: false

2020-09-14 22:59:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mwbewm0207 :: true