Generated by TestNG with ReportNG at 02:14 PST on Thursday 03 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 : 44.972s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.623s
2022-02-03 02:32:35 |

2022-02-03 02:32:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-03 02:32:35 | ------------------------------------

2022-02-03 02:32:35 | [Mutex] isItemNotified: node_tu298u0203:exists :: false

2022-02-03 02:32:35 | [Mutex] waiting for: [node_tu298u0203:create_node]

2022-02-03 02:32:35 | [Mutex] received everything.

2022-02-03 02:32:35 | [Mutex] isItemNotified: node_tu298u0203:create_node:success :: true

2022-02-03 02:32:35 | [Mutex] waiting for: [node_tu298u0203:subscribe_node]

2022-02-03 02:32:35 | [Mutex] waiting for: [node_tu298u0203:subscribe_node]

2022-02-03 02:32:35 | [Mutex] received everything.

2022-02-03 02:32:35 | [Mutex] isItemNotified: node_tu298u0203:subscribe_node:success :: true

2022-02-03 02:32:35 |


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


2022-02-03 02:32:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 02:32:35 | command: <data><node>node_tu298u0203</node><entry><content>content_wjv3if0204</content></entry></data>

2022-02-03 02:32:35 | target: http://localhost:8088

2022-02-03 02:32:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-03 02:32:35 | entity: <data><node>node_tu298u0203</node><entry><content>content_wjv3if0204</content></entry></data>

2022-02-03 02:32:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Feb 2022 10:32:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 02:32:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4cdb27c7-ed49-4c4b-a7ec-fbaec8146a9f</value></item-id></result>

2022-02-03 02:32:35 | contains: true

2022-02-03 02:32:35 | [Mutex] received everything.

2022-02-03 02:32:35 | [Mutex] isItemNotified: user_regularuo1uy10202@test-domain.com:message:received:content_wjv3if0204 :: true

2022-02-03 02:32:35 |


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


2022-02-03 02:32:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 02:32:35 | command: <data><node>node_tu298u0203</node><expire-at>2022-02-03T10:32:30Z</expire-at><entry><content>content_ufrwkx0205</content></entry></data>

2022-02-03 02:32:35 | target: http://localhost:8088

2022-02-03 02:32:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-03 02:32:35 | entity: <data><node>node_tu298u0203</node><expire-at>2022-02-03T10:32:30Z</expire-at><entry><content>content_ufrwkx0205</content></entry></data>

2022-02-03 02:32:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Feb 2022 10:32:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 02:32:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>33f5355b-85c6-4a8e-8fe5-58a661c4f39e</value></item-id></result>

2022-02-03 02:32:36 | contains: true

2022-02-03 02:32:36 | [Mutex] waiting for: [user_regularuo1uy10202@test-domain.com:message:received:content_ufrwkx0205]

2022-02-03 02:32:51 | [Mutex] timeout. Not received [user_regularuo1uy10202@test-domain.com:message:received:content_ufrwkx0205]

2022-02-03 02:32:51 | [Mutex] isItemNotified: user_regularuo1uy10202@test-domain.com:message:received:content_ufrwkx0205 :: false

2022-02-03 02:32:51 |


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


2022-02-03 02:32:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 02:32:51 | command: <data><node>node_tu298u0203</node><entry><content>content_brmifn0206</content></entry></data>

2022-02-03 02:32:51 | target: http://localhost:8088

2022-02-03 02:32:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-03 02:32:51 | entity: <data><node>node_tu298u0203</node><entry><content>content_brmifn0206</content></entry></data>

2022-02-03 02:32:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Feb 2022 10:32:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 02:32:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>95d27a7e-b1c8-422d-9100-add342fbb0c9</value></item-id></result>

2022-02-03 02:32:51 | contains: true

2022-02-03 02:32:56 | [Mutex] waiting for: [user_regularuo1uy10202@test-domain.com:message:received:content_brmifn0206]

2022-02-03 02:32:56 | [Mutex] received everything.

2022-02-03 02:32:56 | [Mutex] isItemNotified: user_regularuo1uy10202@test-domain.com:message:received:content_brmifn0206 :: true

2022-02-03 02:32:56 |


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


2022-02-03 02:32:56 | [Mutex] received everything.

2022-02-03 02:32:56 | [Mutex] isItemNotified: node_tu298u0203:subscribe_node:success :: true

2022-02-03 02:32:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 02:32:56 | command: <data><node>node_tu298u0203</node><expire-at>2022-02-03T10:33:01Z</expire-at><entry><content>content_s9fu1z0207</content></entry></data>

2022-02-03 02:32:56 | target: http://localhost:8088

2022-02-03 02:32:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-03 02:32:56 | entity: <data><node>node_tu298u0203</node><expire-at>2022-02-03T10:33:01Z</expire-at><entry><content>content_s9fu1z0207</content></entry></data>

2022-02-03 02:32:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Feb 2022 10:32:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 02:32:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>62515f34-90e8-4710-900a-386f779b3bbf</value></item-id></result>

2022-02-03 02:32:56 | contains: true

2022-02-03 02:33:04 | [Mutex] waiting for: [user_regularuo1uy10202@test-domain.com:message:received:content_s9fu1z0207]

2022-02-03 02:33:19 | [Mutex] timeout. Not received [user_regularuo1uy10202@test-domain.com:message:received:content_s9fu1z0207]

2022-02-03 02:33:19 | [Mutex] received everything.

2022-02-03 02:33:19 | [Mutex] isItemNotified: user_regularuo1uy10202@test-domain.com:message:received:content_s9fu1z0207 :: false

2022-02-03 02:33:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_s9fu1z0207 :: true