Generated by TestNG with ReportNG at 21:19 PST on Sunday 20 February 2022
root@785cf647a4ab / 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.319s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.705s
2022-02-20 21:36:07 |

2022-02-20 21:36:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-20 21:36:07 | ------------------------------------

2022-02-20 21:36:07 | [Mutex] isItemNotified: node_ogzi4q0203:exists :: false

2022-02-20 21:36:07 | [Mutex] waiting for: [node_ogzi4q0203:create_node]

2022-02-20 21:36:07 | [Mutex] received everything.

2022-02-20 21:36:07 | [Mutex] isItemNotified: node_ogzi4q0203:create_node:success :: true

2022-02-20 21:36:07 | [Mutex] waiting for: [node_ogzi4q0203:subscribe_node]

2022-02-20 21:36:07 | [Mutex] waiting for: [node_ogzi4q0203:subscribe_node]

2022-02-20 21:36:07 | [Mutex] received everything.

2022-02-20 21:36:07 | [Mutex] isItemNotified: node_ogzi4q0203:subscribe_node:success :: true

2022-02-20 21:36:07 |


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


2022-02-20 21:36:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-20 21:36:07 | command: <data><node>node_ogzi4q0203</node><entry><content>content_881k5j0204</content></entry></data>

2022-02-20 21:36:07 | target: http://localhost:8088

2022-02-20 21:36:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-20 21:36:07 | entity: <data><node>node_ogzi4q0203</node><entry><content>content_881k5j0204</content></entry></data>

2022-02-20 21:36:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Feb 2022 05:36:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-20 21:36:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b27aa754-f73d-4222-bef3-266563eacd9d</value></item-id></result>

2022-02-20 21:36:07 | contains: true

2022-02-20 21:36:07 | [Mutex] received everything.

2022-02-20 21:36:07 | [Mutex] isItemNotified: user_regularlmpgzv0202@test-domain.com:message:received:content_881k5j0204 :: true

2022-02-20 21:36:07 |


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


2022-02-20 21:36:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-20 21:36:07 | command: <data><node>node_ogzi4q0203</node><expire-at>2022-02-21T05:36:02Z</expire-at><entry><content>content_j8f4ch0205</content></entry></data>

2022-02-20 21:36:07 | target: http://localhost:8088

2022-02-20 21:36:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-20 21:36:07 | entity: <data><node>node_ogzi4q0203</node><expire-at>2022-02-21T05:36:02Z</expire-at><entry><content>content_j8f4ch0205</content></entry></data>

2022-02-20 21:36:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Feb 2022 05:36:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-20 21:36:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5396beac-8181-46a5-b7a9-37a36eeef810</value></item-id></result>

2022-02-20 21:36:07 | contains: true

2022-02-20 21:36:07 | [Mutex] waiting for: [user_regularlmpgzv0202@test-domain.com:message:received:content_j8f4ch0205]

2022-02-20 21:36:22 | [Mutex] timeout. Not received [user_regularlmpgzv0202@test-domain.com:message:received:content_j8f4ch0205]

2022-02-20 21:36:22 | [Mutex] isItemNotified: user_regularlmpgzv0202@test-domain.com:message:received:content_j8f4ch0205 :: false

2022-02-20 21:36:22 |


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


2022-02-20 21:36:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-20 21:36:22 | command: <data><node>node_ogzi4q0203</node><entry><content>content_eidl5l0206</content></entry></data>

2022-02-20 21:36:22 | target: http://localhost:8088

2022-02-20 21:36:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-20 21:36:22 | entity: <data><node>node_ogzi4q0203</node><entry><content>content_eidl5l0206</content></entry></data>

2022-02-20 21:36:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Feb 2022 05:36:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-20 21:36:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>08b026bb-cb21-40a8-bcee-fb333c0856db</value></item-id></result>

2022-02-20 21:36:22 | contains: true

2022-02-20 21:36:27 | [Mutex] waiting for: [user_regularlmpgzv0202@test-domain.com:message:received:content_eidl5l0206]

2022-02-20 21:36:27 | [Mutex] received everything.

2022-02-20 21:36:27 | [Mutex] isItemNotified: user_regularlmpgzv0202@test-domain.com:message:received:content_eidl5l0206 :: true

2022-02-20 21:36:27 |


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


2022-02-20 21:36:27 | [Mutex] received everything.

2022-02-20 21:36:27 | [Mutex] isItemNotified: node_ogzi4q0203:subscribe_node:success :: true

2022-02-20 21:36:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-20 21:36:27 | command: <data><node>node_ogzi4q0203</node><expire-at>2022-02-21T05:36:32Z</expire-at><entry><content>content_a51at80207</content></entry></data>

2022-02-20 21:36:27 | target: http://localhost:8088

2022-02-20 21:36:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-20 21:36:27 | entity: <data><node>node_ogzi4q0203</node><expire-at>2022-02-21T05:36:32Z</expire-at><entry><content>content_a51at80207</content></entry></data>

2022-02-20 21:36:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Feb 2022 05:36:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-20 21:36:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>149b16a1-410d-48e3-bdcf-6817d16b5c66</value></item-id></result>

2022-02-20 21:36:27 | contains: true

2022-02-20 21:36:35 | [Mutex] waiting for: [user_regularlmpgzv0202@test-domain.com:message:received:content_a51at80207]

2022-02-20 21:36:50 | [Mutex] timeout. Not received [user_regularlmpgzv0202@test-domain.com:message:received:content_a51at80207]

2022-02-20 21:36:50 | [Mutex] received everything.

2022-02-20 21:36:50 | [Mutex] isItemNotified: user_regularlmpgzv0202@test-domain.com:message:received:content_a51at80207 :: false

2022-02-20 21:36:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_a51at80207 :: true