Generated by TestNG with ReportNG at 21:43 PST on Sunday 01 November 2020
root@87f6aca6b6f2 / 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 : 46.248s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.893s
2020-11-01 21:59:13 |

2020-11-01 21:59:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-01 21:59:13 | ------------------------------------

2020-11-01 21:59:13 | [Mutex] isItemNotified: node_ejkzr20203:exists :: false

2020-11-01 21:59:13 | [Mutex] waiting for: [node_ejkzr20203:create_node]

2020-11-01 21:59:13 | [Mutex] received everything.

2020-11-01 21:59:13 | [Mutex] isItemNotified: node_ejkzr20203:create_node:success :: true

2020-11-01 21:59:13 | [Mutex] waiting for: [node_ejkzr20203:subscribe_node]

2020-11-01 21:59:13 | [Mutex] waiting for: [node_ejkzr20203:subscribe_node]

2020-11-01 21:59:13 | [Mutex] received everything.

2020-11-01 21:59:13 | [Mutex] isItemNotified: node_ejkzr20203:subscribe_node:success :: true

2020-11-01 21:59:13 |


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


2020-11-01 21:59:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:59:13 | command: <data><node>node_ejkzr20203</node><entry><content>content_724t3b0204</content></entry></data>

2020-11-01 21:59:13 | target: http://localhost:8088

2020-11-01 21:59:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-01 21:59:13 | entity: <data><node>node_ejkzr20203</node><entry><content>content_724t3b0204</content></entry></data>

2020-11-01 21:59:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:59:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:59:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d698a216-acde-4423-b390-3fc9e2a0be36</value></item-id></result>

2020-11-01 21:59:13 | contains: true

2020-11-01 21:59:13 | [Mutex] waiting for: [user_regularrjdgif0202@test-domain.com:message:received:content_724t3b0204]

2020-11-01 21:59:13 | [Mutex] received everything.

2020-11-01 21:59:13 | [Mutex] isItemNotified: user_regularrjdgif0202@test-domain.com:message:received:content_724t3b0204 :: true

2020-11-01 21:59:13 |


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


2020-11-01 21:59:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:59:13 | command: <data><node>node_ejkzr20203</node><expire-at>2020-11-02T05:59:08Z</expire-at><entry><content>content_wqzlfk0205</content></entry></data>

2020-11-01 21:59:13 | target: http://localhost:8088

2020-11-01 21:59:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-01 21:59:13 | entity: <data><node>node_ejkzr20203</node><expire-at>2020-11-02T05:59:08Z</expire-at><entry><content>content_wqzlfk0205</content></entry></data>

2020-11-01 21:59:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:59:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:59:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>041aff0d-00d9-4916-8deb-cb780fade46f</value></item-id></result>

2020-11-01 21:59:13 | contains: true

2020-11-01 21:59:13 | [Mutex] waiting for: [user_regularrjdgif0202@test-domain.com:message:received:content_wqzlfk0205]

2020-11-01 21:59:28 | [Mutex] timeout. Not received [user_regularrjdgif0202@test-domain.com:message:received:content_wqzlfk0205]

2020-11-01 21:59:28 | [Mutex] isItemNotified: user_regularrjdgif0202@test-domain.com:message:received:content_wqzlfk0205 :: false

2020-11-01 21:59:28 |


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


2020-11-01 21:59:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:59:28 | command: <data><node>node_ejkzr20203</node><entry><content>content_d6ex680206</content></entry></data>

2020-11-01 21:59:28 | target: http://localhost:8088

2020-11-01 21:59:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-01 21:59:28 | entity: <data><node>node_ejkzr20203</node><entry><content>content_d6ex680206</content></entry></data>

2020-11-01 21:59:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:59:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:59:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d5273b14-81c1-4218-bd4b-36a041152921</value></item-id></result>

2020-11-01 21:59:28 | contains: true

2020-11-01 21:59:34 | [Mutex] waiting for: [user_regularrjdgif0202@test-domain.com:message:received:content_d6ex680206]

2020-11-01 21:59:34 | [Mutex] received everything.

2020-11-01 21:59:34 | [Mutex] isItemNotified: user_regularrjdgif0202@test-domain.com:message:received:content_d6ex680206 :: true

2020-11-01 21:59:34 |


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


2020-11-01 21:59:34 | [Mutex] received everything.

2020-11-01 21:59:34 | [Mutex] isItemNotified: node_ejkzr20203:subscribe_node:success :: true

2020-11-01 21:59:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:59:34 | command: <data><node>node_ejkzr20203</node><expire-at>2020-11-02T05:59:39Z</expire-at><entry><content>content_5nv58o0207</content></entry></data>

2020-11-01 21:59:34 | target: http://localhost:8088

2020-11-01 21:59:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-01 21:59:34 | entity: <data><node>node_ejkzr20203</node><expire-at>2020-11-02T05:59:39Z</expire-at><entry><content>content_5nv58o0207</content></entry></data>

2020-11-01 21:59:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:59:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:59:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3821103c-c17e-410f-9f8e-499578c0ffa1</value></item-id></result>

2020-11-01 21:59:34 | contains: true

2020-11-01 21:59:42 | [Mutex] waiting for: [user_regularrjdgif0202@test-domain.com:message:received:content_5nv58o0207]

2020-11-01 21:59:57 | [Mutex] timeout. Not received [user_regularrjdgif0202@test-domain.com:message:received:content_5nv58o0207]

2020-11-01 21:59:57 | [Mutex] received everything.

2020-11-01 21:59:57 | [Mutex] isItemNotified: user_regularrjdgif0202@test-domain.com:message:received:content_5nv58o0207 :: false

2020-11-01 21:59:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5nv58o0207 :: true