Generated by TestNG with ReportNG at 21:42 PST on Sunday 16 January 2022
root@b2c2a8eba6e6 / 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.636s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.794s
2022-01-16 21:56:58 |

2022-01-16 21:56:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-01-16 21:56:58 | ------------------------------------

2022-01-16 21:56:58 | [Mutex] isItemNotified: node_z90sym0203:exists :: false

2022-01-16 21:56:58 | [Mutex] waiting for: [node_z90sym0203:create_node]

2022-01-16 21:56:58 | [Mutex] received everything.

2022-01-16 21:56:58 | [Mutex] isItemNotified: node_z90sym0203:create_node:success :: true

2022-01-16 21:56:58 | [Mutex] waiting for: [node_z90sym0203:subscribe_node]

2022-01-16 21:56:58 | [Mutex] waiting for: [node_z90sym0203:subscribe_node]

2022-01-16 21:56:58 | [Mutex] received everything.

2022-01-16 21:56:58 | [Mutex] isItemNotified: node_z90sym0203:subscribe_node:success :: true

2022-01-16 21:56:58 |


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


2022-01-16 21:56:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-16 21:56:58 | command: <data><node>node_z90sym0203</node><entry><content>content_e5u4yj0204</content></entry></data>

2022-01-16 21:56:58 | target: http://localhost:8088

2022-01-16 21:56:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-01-16 21:56:58 | entity: <data><node>node_z90sym0203</node><entry><content>content_e5u4yj0204</content></entry></data>

2022-01-16 21:56:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 17 Jan 2022 05:56:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-16 21:56:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cccc481b-eedf-45e8-91a0-4de3f8537676</value></item-id></result>

2022-01-16 21:56:58 | contains: true

2022-01-16 21:56:58 | [Mutex] received everything.

2022-01-16 21:56:58 | [Mutex] isItemNotified: user_regular7r85fq0202@test-domain.com:message:received:content_e5u4yj0204 :: true

2022-01-16 21:56:58 |


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


2022-01-16 21:56:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-16 21:56:58 | command: <data><node>node_z90sym0203</node><expire-at>2022-01-17T05:56:53Z</expire-at><entry><content>content_jldqx0205</content></entry></data>

2022-01-16 21:56:58 | target: http://localhost:8088

2022-01-16 21:56:58 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-01-16 21:56:58 | entity: <data><node>node_z90sym0203</node><expire-at>2022-01-17T05:56:53Z</expire-at><entry><content>content_jldqx0205</content></entry></data>

2022-01-16 21:56:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 17 Jan 2022 05:56:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-16 21:56:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f500f426-004f-48c9-a9ec-3a146e6a4363</value></item-id></result>

2022-01-16 21:56:58 | contains: true

2022-01-16 21:56:58 | [Mutex] waiting for: [user_regular7r85fq0202@test-domain.com:message:received:content_jldqx0205]

2022-01-16 21:57:13 | [Mutex] timeout. Not received [user_regular7r85fq0202@test-domain.com:message:received:content_jldqx0205]

2022-01-16 21:57:13 | [Mutex] isItemNotified: user_regular7r85fq0202@test-domain.com:message:received:content_jldqx0205 :: false

2022-01-16 21:57:13 |


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


2022-01-16 21:57:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-16 21:57:13 | command: <data><node>node_z90sym0203</node><entry><content>content_vez03f0206</content></entry></data>

2022-01-16 21:57:13 | target: http://localhost:8088

2022-01-16 21:57:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-01-16 21:57:13 | entity: <data><node>node_z90sym0203</node><entry><content>content_vez03f0206</content></entry></data>

2022-01-16 21:57:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 17 Jan 2022 05:57:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-16 21:57:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>97192628-4877-4577-bb26-21ab8aff2efc</value></item-id></result>

2022-01-16 21:57:13 | contains: true

2022-01-16 21:57:18 | [Mutex] waiting for: [user_regular7r85fq0202@test-domain.com:message:received:content_vez03f0206]

2022-01-16 21:57:19 | [Mutex] received everything.

2022-01-16 21:57:19 | [Mutex] isItemNotified: user_regular7r85fq0202@test-domain.com:message:received:content_vez03f0206 :: true

2022-01-16 21:57:19 |


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


2022-01-16 21:57:19 | [Mutex] received everything.

2022-01-16 21:57:19 | [Mutex] isItemNotified: node_z90sym0203:subscribe_node:success :: true

2022-01-16 21:57:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-16 21:57:19 | command: <data><node>node_z90sym0203</node><expire-at>2022-01-17T05:57:24Z</expire-at><entry><content>content_owub8s0207</content></entry></data>

2022-01-16 21:57:19 | target: http://localhost:8088

2022-01-16 21:57:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-01-16 21:57:19 | entity: <data><node>node_z90sym0203</node><expire-at>2022-01-17T05:57:24Z</expire-at><entry><content>content_owub8s0207</content></entry></data>

2022-01-16 21:57:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 17 Jan 2022 05:57:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-16 21:57:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c93fcbb2-1eb5-4421-8b51-45569787dd16</value></item-id></result>

2022-01-16 21:57:19 | contains: true

2022-01-16 21:57:27 | [Mutex] waiting for: [user_regular7r85fq0202@test-domain.com:message:received:content_owub8s0207]

2022-01-16 21:57:42 | [Mutex] timeout. Not received [user_regular7r85fq0202@test-domain.com:message:received:content_owub8s0207]

2022-01-16 21:57:42 | [Mutex] received everything.

2022-01-16 21:57:42 | [Mutex] isItemNotified: user_regular7r85fq0202@test-domain.com:message:received:content_owub8s0207 :: false

2022-01-16 21:57:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_owub8s0207 :: true