Generated by TestNG with ReportNG at 00:10 PDT on Monday 20 September 2021
root@f29ef40080b5 / 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.159s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.617s
2021-09-20 00:25:27 |

2021-09-20 00:25:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-09-20 00:25:27 | ------------------------------------

2021-09-20 00:25:27 | [Mutex] isItemNotified: node_tvxzb90203:exists :: false

2021-09-20 00:25:27 | [Mutex] waiting for: [node_tvxzb90203:create_node]

2021-09-20 00:25:27 | [Mutex] received everything.

2021-09-20 00:25:27 | [Mutex] isItemNotified: node_tvxzb90203:create_node:success :: true

2021-09-20 00:25:27 | [Mutex] waiting for: [node_tvxzb90203:subscribe_node]

2021-09-20 00:25:27 | [Mutex] waiting for: [node_tvxzb90203:subscribe_node]

2021-09-20 00:25:27 | [Mutex] received everything.

2021-09-20 00:25:27 | [Mutex] isItemNotified: node_tvxzb90203:subscribe_node:success :: true

2021-09-20 00:25:27 |


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


2021-09-20 00:25:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-20 00:25:27 | command: <data><node>node_tvxzb90203</node><entry><content>content_18lu720204</content></entry></data>

2021-09-20 00:25:27 | target: http://localhost:8088

2021-09-20 00:25:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-20 00:25:27 | entity: <data><node>node_tvxzb90203</node><entry><content>content_18lu720204</content></entry></data>

2021-09-20 00:25:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 07:25:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-20 00:25:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>487dd0b8-5d07-47c5-80b4-024a876934dc</value></item-id></result>

2021-09-20 00:25:27 | contains: true

2021-09-20 00:25:27 | [Mutex] received everything.

2021-09-20 00:25:27 | [Mutex] isItemNotified: user_regularrs9vxb0202@test-domain.com:message:received:content_18lu720204 :: true

2021-09-20 00:25:27 |


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


2021-09-20 00:25:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-20 00:25:27 | command: <data><node>node_tvxzb90203</node><expire-at>2021-09-20T07:25:22Z</expire-at><entry><content>content_dqiw2t0205</content></entry></data>

2021-09-20 00:25:27 | target: http://localhost:8088

2021-09-20 00:25:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-20 00:25:27 | entity: <data><node>node_tvxzb90203</node><expire-at>2021-09-20T07:25:22Z</expire-at><entry><content>content_dqiw2t0205</content></entry></data>

2021-09-20 00:25:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 07:25:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-20 00:25:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>05eff363-3cd6-42dd-bb14-72259b3b21ce</value></item-id></result>

2021-09-20 00:25:27 | contains: true

2021-09-20 00:25:27 | [Mutex] waiting for: [user_regularrs9vxb0202@test-domain.com:message:received:content_dqiw2t0205]

2021-09-20 00:25:42 | [Mutex] timeout. Not received [user_regularrs9vxb0202@test-domain.com:message:received:content_dqiw2t0205]

2021-09-20 00:25:42 | [Mutex] isItemNotified: user_regularrs9vxb0202@test-domain.com:message:received:content_dqiw2t0205 :: false

2021-09-20 00:25:42 |


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


2021-09-20 00:25:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-20 00:25:42 | command: <data><node>node_tvxzb90203</node><entry><content>content_otoqt10206</content></entry></data>

2021-09-20 00:25:42 | target: http://localhost:8088

2021-09-20 00:25:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-20 00:25:42 | entity: <data><node>node_tvxzb90203</node><entry><content>content_otoqt10206</content></entry></data>

2021-09-20 00:25:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 07:25:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-20 00:25:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>26fd72bb-edae-454c-81f5-298a562216e3</value></item-id></result>

2021-09-20 00:25:42 | contains: true

2021-09-20 00:25:47 | [Mutex] waiting for: [user_regularrs9vxb0202@test-domain.com:message:received:content_otoqt10206]

2021-09-20 00:25:47 | [Mutex] received everything.

2021-09-20 00:25:47 | [Mutex] isItemNotified: user_regularrs9vxb0202@test-domain.com:message:received:content_otoqt10206 :: true

2021-09-20 00:25:47 |


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


2021-09-20 00:25:47 | [Mutex] received everything.

2021-09-20 00:25:47 | [Mutex] isItemNotified: node_tvxzb90203:subscribe_node:success :: true

2021-09-20 00:25:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-20 00:25:47 | command: <data><node>node_tvxzb90203</node><expire-at>2021-09-20T07:25:52Z</expire-at><entry><content>content_h422rf0207</content></entry></data>

2021-09-20 00:25:47 | target: http://localhost:8088

2021-09-20 00:25:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-20 00:25:47 | entity: <data><node>node_tvxzb90203</node><expire-at>2021-09-20T07:25:52Z</expire-at><entry><content>content_h422rf0207</content></entry></data>

2021-09-20 00:25:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 07:25:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-20 00:25:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8e0991c0-ef84-45ce-9dd5-09280179aa52</value></item-id></result>

2021-09-20 00:25:47 | contains: true

2021-09-20 00:25:56 | [Mutex] waiting for: [user_regularrs9vxb0202@test-domain.com:message:received:content_h422rf0207]

2021-09-20 00:26:11 | [Mutex] timeout. Not received [user_regularrs9vxb0202@test-domain.com:message:received:content_h422rf0207]

2021-09-20 00:26:11 | [Mutex] received everything.

2021-09-20 00:26:11 | [Mutex] isItemNotified: user_regularrs9vxb0202@test-domain.com:message:received:content_h422rf0207 :: false

2021-09-20 00:26:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_h422rf0207 :: true