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

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.632s
2022-02-03 02:29:19 |

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

2022-02-03 02:29:19 | ------------------------------------

2022-02-03 02:29:19 | [Mutex] isItemNotified: node_npetmr0203:exists :: false

2022-02-03 02:29:19 | [Mutex] waiting for: [node_npetmr0203:create_node]

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

2022-02-03 02:29:19 | [Mutex] isItemNotified: node_npetmr0203:create_node:success :: true

2022-02-03 02:29:19 | [Mutex] waiting for: [node_npetmr0203:subscribe_node]

2022-02-03 02:29:19 | [Mutex] waiting for: [node_npetmr0203:subscribe_node]

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

2022-02-03 02:29:19 | [Mutex] isItemNotified: node_npetmr0203:subscribe_node:success :: true

2022-02-03 02:29:19 |


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


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

2022-02-03 02:29:19 | command: <data><node>node_npetmr0203</node><entry><content>content_cdsi9m0204</content></entry></data>

2022-02-03 02:29:19 | target: http://localhost:8088

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

2022-02-03 02:29:19 | entity: <data><node>node_npetmr0203</node><entry><content>content_cdsi9m0204</content></entry></data>

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

2022-02-03 02:29:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8d1a95be-5540-4e80-bfb2-f653f964fda6</value></item-id></result>

2022-02-03 02:29:19 | contains: true

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

2022-02-03 02:29:19 | [Mutex] isItemNotified: user_regularusyxt40202@test-domain.com:message:received:content_cdsi9m0204 :: true

2022-02-03 02:29:19 |


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


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

2022-02-03 02:29:19 | command: <data><node>node_npetmr0203</node><expire-at>2022-02-03T10:29:14Z</expire-at><entry><content>content_w4pw4q0205</content></entry></data>

2022-02-03 02:29:19 | target: http://localhost:8088

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

2022-02-03 02:29:19 | entity: <data><node>node_npetmr0203</node><expire-at>2022-02-03T10:29:14Z</expire-at><entry><content>content_w4pw4q0205</content></entry></data>

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

2022-02-03 02:29:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>341fd22d-bc5d-4aff-a178-ab9eaaaa59c8</value></item-id></result>

2022-02-03 02:29:19 | contains: true

2022-02-03 02:29:19 | [Mutex] waiting for: [user_regularusyxt40202@test-domain.com:message:received:content_w4pw4q0205]

2022-02-03 02:29:34 | [Mutex] timeout. Not received [user_regularusyxt40202@test-domain.com:message:received:content_w4pw4q0205]

2022-02-03 02:29:34 | [Mutex] isItemNotified: user_regularusyxt40202@test-domain.com:message:received:content_w4pw4q0205 :: false

2022-02-03 02:29:34 |


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


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

2022-02-03 02:29:34 | command: <data><node>node_npetmr0203</node><entry><content>content_68s97n0206</content></entry></data>

2022-02-03 02:29:34 | target: http://localhost:8088

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

2022-02-03 02:29:34 | entity: <data><node>node_npetmr0203</node><entry><content>content_68s97n0206</content></entry></data>

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

2022-02-03 02:29:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0418a9b2-a602-4d35-ae90-4c99984928f1</value></item-id></result>

2022-02-03 02:29:34 | contains: true

2022-02-03 02:29:39 | [Mutex] waiting for: [user_regularusyxt40202@test-domain.com:message:received:content_68s97n0206]

2022-02-03 02:29:39 | [Mutex] waiting for: [user_regularusyxt40202@test-domain.com:message:received:content_68s97n0206]

2022-02-03 02:29:39 | [Mutex] received everything.

2022-02-03 02:29:39 | [Mutex] isItemNotified: user_regularusyxt40202@test-domain.com:message:received:content_68s97n0206 :: true

2022-02-03 02:29:39 |


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


2022-02-03 02:29:39 | [Mutex] received everything.

2022-02-03 02:29:39 | [Mutex] isItemNotified: node_npetmr0203:subscribe_node:success :: true

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

2022-02-03 02:29:39 | command: <data><node>node_npetmr0203</node><expire-at>2022-02-03T10:29:44Z</expire-at><entry><content>content_ihmaa10207</content></entry></data>

2022-02-03 02:29:39 | target: http://localhost:8088

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

2022-02-03 02:29:39 | entity: <data><node>node_npetmr0203</node><expire-at>2022-02-03T10:29:44Z</expire-at><entry><content>content_ihmaa10207</content></entry></data>

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

2022-02-03 02:29:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b4b06347-8313-4d39-b3de-3c2d810ab779</value></item-id></result>

2022-02-03 02:29:40 | contains: true

2022-02-03 02:29:48 | [Mutex] waiting for: [user_regularusyxt40202@test-domain.com:message:received:content_ihmaa10207]

2022-02-03 02:29:48 | [Mutex] waiting for: [user_regularusyxt40202@test-domain.com:message:received:content_ihmaa10207]

2022-02-03 02:30:03 | [Mutex] timeout. Not received [user_regularusyxt40202@test-domain.com:message:received:content_ihmaa10207]

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

2022-02-03 02:30:03 | [Mutex] isItemNotified: user_regularusyxt40202@test-domain.com:message:received:content_ihmaa10207 :: false

2022-02-03 02:30:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ihmaa10207 :: true