Generated by TestNG with ReportNG at 22:41 PDT on Friday 04 September 2020
root@55161683a995 / 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.765s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.758s
2020-09-04 22:58:42 |

2020-09-04 22:58:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-04 22:58:42 | ------------------------------------

2020-09-04 22:58:42 | [Mutex] isItemNotified: node_e0h9u80203:exists :: false

2020-09-04 22:58:42 | [Mutex] waiting for: [node_e0h9u80203:create_node]

2020-09-04 22:58:42 | [Mutex] received everything.

2020-09-04 22:58:42 | [Mutex] isItemNotified: node_e0h9u80203:create_node:success :: true

2020-09-04 22:58:42 | [Mutex] waiting for: [node_e0h9u80203:subscribe_node]

2020-09-04 22:58:42 | [Mutex] waiting for: [node_e0h9u80203:subscribe_node]

2020-09-04 22:58:42 | [Mutex] received everything.

2020-09-04 22:58:42 | [Mutex] isItemNotified: node_e0h9u80203:subscribe_node:success :: true

2020-09-04 22:58:42 |


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


2020-09-04 22:58:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-04 22:58:42 | command: <data><node>node_e0h9u80203</node><entry><content>content_vw214m0204</content></entry></data>

2020-09-04 22:58:42 | target: http://localhost:8088

2020-09-04 22:58:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-04 22:58:42 | entity: <data><node>node_e0h9u80203</node><entry><content>content_vw214m0204</content></entry></data>

2020-09-04 22:58:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Sep 2020 05:58:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-04 22:58:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0a51ea2e-ce68-47e6-b794-b4ec19c76daa</value></item-id></result>

2020-09-04 22:58:42 | contains: true

2020-09-04 22:58:42 | [Mutex] waiting for: [user_regular2qv2nn0202@test-domain.com:message:received:content_vw214m0204]

2020-09-04 22:58:42 | [Mutex] received everything.

2020-09-04 22:58:42 | [Mutex] isItemNotified: user_regular2qv2nn0202@test-domain.com:message:received:content_vw214m0204 :: true

2020-09-04 22:58:42 |


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


2020-09-04 22:58:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-04 22:58:42 | command: <data><node>node_e0h9u80203</node><expire-at>2020-09-05T05:58:37Z</expire-at><entry><content>content_pzlng40205</content></entry></data>

2020-09-04 22:58:42 | target: http://localhost:8088

2020-09-04 22:58:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-04 22:58:42 | entity: <data><node>node_e0h9u80203</node><expire-at>2020-09-05T05:58:37Z</expire-at><entry><content>content_pzlng40205</content></entry></data>

2020-09-04 22:58:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Sep 2020 05:58:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-04 22:58:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ba643061-7e61-46e6-a7c9-68dc7f7067c1</value></item-id></result>

2020-09-04 22:58:42 | contains: true

2020-09-04 22:58:42 | [Mutex] waiting for: [user_regular2qv2nn0202@test-domain.com:message:received:content_pzlng40205]

2020-09-04 22:58:57 | [Mutex] timeout. Not received [user_regular2qv2nn0202@test-domain.com:message:received:content_pzlng40205]

2020-09-04 22:58:57 | [Mutex] isItemNotified: user_regular2qv2nn0202@test-domain.com:message:received:content_pzlng40205 :: false

2020-09-04 22:58:57 |


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


2020-09-04 22:58:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-04 22:58:57 | command: <data><node>node_e0h9u80203</node><entry><content>content_9io2gg0206</content></entry></data>

2020-09-04 22:58:57 | target: http://localhost:8088

2020-09-04 22:58:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-04 22:58:57 | entity: <data><node>node_e0h9u80203</node><entry><content>content_9io2gg0206</content></entry></data>

2020-09-04 22:58:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Sep 2020 05:58:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-04 22:58:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ee20a022-25d2-4ae5-ab32-75feda4cebf2</value></item-id></result>

2020-09-04 22:58:57 | contains: true

2020-09-04 22:59:03 | [Mutex] received everything.

2020-09-04 22:59:03 | [Mutex] isItemNotified: user_regular2qv2nn0202@test-domain.com:message:received:content_9io2gg0206 :: true

2020-09-04 22:59:03 |


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


2020-09-04 22:59:03 | [Mutex] received everything.

2020-09-04 22:59:03 | [Mutex] isItemNotified: node_e0h9u80203:subscribe_node:success :: true

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

2020-09-04 22:59:03 | command: <data><node>node_e0h9u80203</node><expire-at>2020-09-05T05:59:08Z</expire-at><entry><content>content_utamgx0207</content></entry></data>

2020-09-04 22:59:03 | target: http://localhost:8088

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

2020-09-04 22:59:03 | entity: <data><node>node_e0h9u80203</node><expire-at>2020-09-05T05:59:08Z</expire-at><entry><content>content_utamgx0207</content></entry></data>

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

2020-09-04 22:59:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>201ab184-c260-47db-a4a7-67b61172ecb7</value></item-id></result>

2020-09-04 22:59:03 | contains: true

2020-09-04 22:59:11 | [Mutex] waiting for: [user_regular2qv2nn0202@test-domain.com:message:received:content_utamgx0207]

2020-09-04 22:59:26 | [Mutex] timeout. Not received [user_regular2qv2nn0202@test-domain.com:message:received:content_utamgx0207]

2020-09-04 22:59:26 | [Mutex] received everything.

2020-09-04 22:59:26 | [Mutex] isItemNotified: user_regular2qv2nn0202@test-domain.com:message:received:content_utamgx0207 :: false

2020-09-04 22:59:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_utamgx0207 :: true