Generated by TestNG with ReportNG at 21:09 PST on Tuesday 23 February 2021
root@43fec6d4badf / 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.837s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.816s
2021-02-23 21:26:01 |

2021-02-23 21:26:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-02-23 21:26:01 | ------------------------------------

2021-02-23 21:26:01 | [Mutex] isItemNotified: node_v2v9n80203:exists :: false

2021-02-23 21:26:01 | [Mutex] waiting for: [node_v2v9n80203:create_node]

2021-02-23 21:26:01 | [Mutex] received everything.

2021-02-23 21:26:01 | [Mutex] isItemNotified: node_v2v9n80203:create_node:success :: true

2021-02-23 21:26:01 | [Mutex] waiting for: [node_v2v9n80203:subscribe_node]

2021-02-23 21:26:01 | [Mutex] received everything.

2021-02-23 21:26:01 | [Mutex] isItemNotified: node_v2v9n80203:subscribe_node:success :: true

2021-02-23 21:26:01 |


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


2021-02-23 21:26:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-23 21:26:01 | command: <data><node>node_v2v9n80203</node><entry><content>content_qbou4c0204</content></entry></data>

2021-02-23 21:26:01 | target: http://localhost:8088

2021-02-23 21:26:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-23 21:26:01 | entity: <data><node>node_v2v9n80203</node><entry><content>content_qbou4c0204</content></entry></data>

2021-02-23 21:26:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:26:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-23 21:26:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0e8f7292-31fc-43cb-afff-bd30a230468c</value></item-id></result>

2021-02-23 21:26:01 | contains: true

2021-02-23 21:26:01 | [Mutex] received everything.

2021-02-23 21:26:01 | [Mutex] isItemNotified: user_regularz0a9m90202@test-domain.com:message:received:content_qbou4c0204 :: true

2021-02-23 21:26:01 |


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


2021-02-23 21:26:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-23 21:26:01 | command: <data><node>node_v2v9n80203</node><expire-at>2021-02-24T05:25:56Z</expire-at><entry><content>content_tj3xfn0205</content></entry></data>

2021-02-23 21:26:01 | target: http://localhost:8088

2021-02-23 21:26:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-23 21:26:01 | entity: <data><node>node_v2v9n80203</node><expire-at>2021-02-24T05:25:56Z</expire-at><entry><content>content_tj3xfn0205</content></entry></data>

2021-02-23 21:26:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:26:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-23 21:26:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7140580a-92b7-472c-b2cc-abaa28e7d254</value></item-id></result>

2021-02-23 21:26:01 | contains: true

2021-02-23 21:26:01 | [Mutex] waiting for: [user_regularz0a9m90202@test-domain.com:message:received:content_tj3xfn0205]

2021-02-23 21:26:16 | [Mutex] timeout. Not received [user_regularz0a9m90202@test-domain.com:message:received:content_tj3xfn0205]

2021-02-23 21:26:16 | [Mutex] isItemNotified: user_regularz0a9m90202@test-domain.com:message:received:content_tj3xfn0205 :: false

2021-02-23 21:26:16 |


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


2021-02-23 21:26:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-23 21:26:16 | command: <data><node>node_v2v9n80203</node><entry><content>content_qp15dj0206</content></entry></data>

2021-02-23 21:26:16 | target: http://localhost:8088

2021-02-23 21:26:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-23 21:26:16 | entity: <data><node>node_v2v9n80203</node><entry><content>content_qp15dj0206</content></entry></data>

2021-02-23 21:26:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:26:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-23 21:26:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8843a184-befd-42ff-912a-c828b1766cc2</value></item-id></result>

2021-02-23 21:26:16 | contains: true

2021-02-23 21:26:21 | [Mutex] waiting for: [user_regularz0a9m90202@test-domain.com:message:received:content_qp15dj0206]

2021-02-23 21:26:21 | [Mutex] received everything.

2021-02-23 21:26:21 | [Mutex] isItemNotified: user_regularz0a9m90202@test-domain.com:message:received:content_qp15dj0206 :: true

2021-02-23 21:26:21 |


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


2021-02-23 21:26:21 | [Mutex] received everything.

2021-02-23 21:26:21 | [Mutex] isItemNotified: node_v2v9n80203:subscribe_node:success :: true

2021-02-23 21:26:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-23 21:26:21 | command: <data><node>node_v2v9n80203</node><expire-at>2021-02-24T05:26:26Z</expire-at><entry><content>content_kmtzlq0207</content></entry></data>

2021-02-23 21:26:21 | target: http://localhost:8088

2021-02-23 21:26:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-23 21:26:21 | entity: <data><node>node_v2v9n80203</node><expire-at>2021-02-24T05:26:26Z</expire-at><entry><content>content_kmtzlq0207</content></entry></data>

2021-02-23 21:26:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:26:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-23 21:26:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>56c5b76e-a922-4a95-a578-3519a61d3c52</value></item-id></result>

2021-02-23 21:26:21 | contains: true

2021-02-23 21:26:30 | [Mutex] waiting for: [user_regularz0a9m90202@test-domain.com:message:received:content_kmtzlq0207]

2021-02-23 21:26:30 | [Mutex] waiting for: [user_regularz0a9m90202@test-domain.com:message:received:content_kmtzlq0207]

2021-02-23 21:26:45 | [Mutex] timeout. Not received [user_regularz0a9m90202@test-domain.com:message:received:content_kmtzlq0207]

2021-02-23 21:26:45 | [Mutex] received everything.

2021-02-23 21:26:45 | [Mutex] isItemNotified: user_regularz0a9m90202@test-domain.com:message:received:content_kmtzlq0207 :: false

2021-02-23 21:26:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kmtzlq0207 :: true