Generated by TestNG with ReportNG at 21:14 PST on Thursday 18 February 2021
root@eaa73862192b / 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.664s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.824s
2021-02-18 21:31:38 |

2021-02-18 21:31:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-02-18 21:31:38 | ------------------------------------

2021-02-18 21:31:38 | [Mutex] isItemNotified: node_cgtv0o0203:exists :: false

2021-02-18 21:31:38 | [Mutex] waiting for: [node_cgtv0o0203:create_node]

2021-02-18 21:31:38 | [Mutex] received everything.

2021-02-18 21:31:38 | [Mutex] isItemNotified: node_cgtv0o0203:create_node:success :: true

2021-02-18 21:31:38 | [Mutex] waiting for: [node_cgtv0o0203:subscribe_node]

2021-02-18 21:31:38 | [Mutex] waiting for: [node_cgtv0o0203:subscribe_node]

2021-02-18 21:31:38 | [Mutex] received everything.

2021-02-18 21:31:38 | [Mutex] isItemNotified: node_cgtv0o0203:subscribe_node:success :: true

2021-02-18 21:31:38 |


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


2021-02-18 21:31:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-18 21:31:38 | command: <data><node>node_cgtv0o0203</node><entry><content>content_chmbmd0204</content></entry></data>

2021-02-18 21:31:38 | target: http://localhost:8088

2021-02-18 21:31:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-18 21:31:38 | entity: <data><node>node_cgtv0o0203</node><entry><content>content_chmbmd0204</content></entry></data>

2021-02-18 21:31:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 05:31:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-18 21:31:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>70041583-c191-46f8-be19-0f5b77f4e7f1</value></item-id></result>

2021-02-18 21:31:38 | contains: true

2021-02-18 21:31:38 | [Mutex] received everything.

2021-02-18 21:31:38 | [Mutex] isItemNotified: user_regular53nzpg0202@test-domain.com:message:received:content_chmbmd0204 :: true

2021-02-18 21:31:38 |


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


2021-02-18 21:31:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-18 21:31:38 | command: <data><node>node_cgtv0o0203</node><expire-at>2021-02-19T05:31:33Z</expire-at><entry><content>content_bbqqng0205</content></entry></data>

2021-02-18 21:31:38 | target: http://localhost:8088

2021-02-18 21:31:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-18 21:31:38 | entity: <data><node>node_cgtv0o0203</node><expire-at>2021-02-19T05:31:33Z</expire-at><entry><content>content_bbqqng0205</content></entry></data>

2021-02-18 21:31:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 05:31:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-18 21:31:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9288182c-7465-4dff-8830-c41f4ff9dec0</value></item-id></result>

2021-02-18 21:31:38 | contains: true

2021-02-18 21:31:38 | [Mutex] waiting for: [user_regular53nzpg0202@test-domain.com:message:received:content_bbqqng0205]

2021-02-18 21:31:53 | [Mutex] timeout. Not received [user_regular53nzpg0202@test-domain.com:message:received:content_bbqqng0205]

2021-02-18 21:31:53 | [Mutex] isItemNotified: user_regular53nzpg0202@test-domain.com:message:received:content_bbqqng0205 :: false

2021-02-18 21:31:53 |


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


2021-02-18 21:31:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-18 21:31:53 | command: <data><node>node_cgtv0o0203</node><entry><content>content_5otenz0206</content></entry></data>

2021-02-18 21:31:53 | target: http://localhost:8088

2021-02-18 21:31:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-18 21:31:53 | entity: <data><node>node_cgtv0o0203</node><entry><content>content_5otenz0206</content></entry></data>

2021-02-18 21:31:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 05:31:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-18 21:31:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>faace573-9a12-4e42-8ee5-004dc1199e5b</value></item-id></result>

2021-02-18 21:31:53 | contains: true

2021-02-18 21:31:58 | [Mutex] waiting for: [user_regular53nzpg0202@test-domain.com:message:received:content_5otenz0206]

2021-02-18 21:31:58 | [Mutex] waiting for: [user_regular53nzpg0202@test-domain.com:message:received:content_5otenz0206]

2021-02-18 21:31:58 | [Mutex] received everything.

2021-02-18 21:31:58 | [Mutex] isItemNotified: user_regular53nzpg0202@test-domain.com:message:received:content_5otenz0206 :: true

2021-02-18 21:31:58 |


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


2021-02-18 21:31:58 | [Mutex] received everything.

2021-02-18 21:31:58 | [Mutex] isItemNotified: node_cgtv0o0203:subscribe_node:success :: true

2021-02-18 21:31:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-18 21:31:58 | command: <data><node>node_cgtv0o0203</node><expire-at>2021-02-19T05:32:03Z</expire-at><entry><content>content_1c3wj20207</content></entry></data>

2021-02-18 21:31:58 | target: http://localhost:8088

2021-02-18 21:31:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-18 21:31:58 | entity: <data><node>node_cgtv0o0203</node><expire-at>2021-02-19T05:32:03Z</expire-at><entry><content>content_1c3wj20207</content></entry></data>

2021-02-18 21:31:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 05:31:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-18 21:31:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d8d6c54a-7769-4b8a-a476-5ae401cf28f0</value></item-id></result>

2021-02-18 21:31:59 | contains: true

2021-02-18 21:32:07 | [Mutex] waiting for: [user_regular53nzpg0202@test-domain.com:message:received:content_1c3wj20207]

2021-02-18 21:32:07 | [Mutex] waiting for: [user_regular53nzpg0202@test-domain.com:message:received:content_1c3wj20207]

2021-02-18 21:32:22 | [Mutex] timeout. Not received [user_regular53nzpg0202@test-domain.com:message:received:content_1c3wj20207]

2021-02-18 21:32:22 | [Mutex] received everything.

2021-02-18 21:32:22 | [Mutex] isItemNotified: user_regular53nzpg0202@test-domain.com:message:received:content_1c3wj20207 :: false

2021-02-18 21:32:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1c3wj20207 :: true