Generated by TestNG with ReportNG at 08:28 PST on Thursday 23 December 2021
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.642s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.747s
2021-12-23 08:43:58 |

2021-12-23 08:43:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-12-23 08:43:58 | ------------------------------------

2021-12-23 08:43:58 | [Mutex] isItemNotified: node_ozmsaz0203:exists :: false

2021-12-23 08:43:58 | [Mutex] waiting for: [node_ozmsaz0203:create_node]

2021-12-23 08:43:58 | [Mutex] received everything.

2021-12-23 08:43:58 | [Mutex] isItemNotified: node_ozmsaz0203:create_node:success :: true

2021-12-23 08:43:58 | [Mutex] waiting for: [node_ozmsaz0203:subscribe_node]

2021-12-23 08:43:58 | [Mutex] received everything.

2021-12-23 08:43:58 | [Mutex] isItemNotified: node_ozmsaz0203:subscribe_node:success :: true

2021-12-23 08:43:58 |


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


2021-12-23 08:43:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-23 08:43:58 | command: <data><node>node_ozmsaz0203</node><entry><content>content_qareka0204</content></entry></data>

2021-12-23 08:43:58 | target: http://localhost:8088

2021-12-23 08:43:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-23 08:43:58 | entity: <data><node>node_ozmsaz0203</node><entry><content>content_qareka0204</content></entry></data>

2021-12-23 08:43:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Dec 2021 16:43:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-23 08:43:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4053f632-d3fc-4e17-ac6e-53d70c4a83a5</value></item-id></result>

2021-12-23 08:43:58 | contains: true

2021-12-23 08:43:58 | [Mutex] waiting for: [user_regularewn6im0202@test-domain.com:message:received:content_qareka0204]

2021-12-23 08:43:58 | [Mutex] received everything.

2021-12-23 08:43:58 | [Mutex] isItemNotified: user_regularewn6im0202@test-domain.com:message:received:content_qareka0204 :: true

2021-12-23 08:43:58 |


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


2021-12-23 08:43:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-23 08:43:58 | command: <data><node>node_ozmsaz0203</node><expire-at>2021-12-23T16:43:53Z</expire-at><entry><content>content_1rr270205</content></entry></data>

2021-12-23 08:43:58 | target: http://localhost:8088

2021-12-23 08:43:58 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-12-23 08:43:58 | entity: <data><node>node_ozmsaz0203</node><expire-at>2021-12-23T16:43:53Z</expire-at><entry><content>content_1rr270205</content></entry></data>

2021-12-23 08:43:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Dec 2021 16:43:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-23 08:43:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1ac9fbe0-9c5d-4827-8cc5-913fbafdf3b1</value></item-id></result>

2021-12-23 08:43:58 | contains: true

2021-12-23 08:43:58 | [Mutex] waiting for: [user_regularewn6im0202@test-domain.com:message:received:content_1rr270205]

2021-12-23 08:44:13 | [Mutex] timeout. Not received [user_regularewn6im0202@test-domain.com:message:received:content_1rr270205]

2021-12-23 08:44:13 | [Mutex] isItemNotified: user_regularewn6im0202@test-domain.com:message:received:content_1rr270205 :: false

2021-12-23 08:44:13 |


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


2021-12-23 08:44:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-23 08:44:13 | command: <data><node>node_ozmsaz0203</node><entry><content>content_lmofg10206</content></entry></data>

2021-12-23 08:44:13 | target: http://localhost:8088

2021-12-23 08:44:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-23 08:44:13 | entity: <data><node>node_ozmsaz0203</node><entry><content>content_lmofg10206</content></entry></data>

2021-12-23 08:44:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Dec 2021 16:44:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-23 08:44:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>50b966e0-af10-4be7-aea0-f1cf027bc496</value></item-id></result>

2021-12-23 08:44:13 | contains: true

2021-12-23 08:44:19 | [Mutex] waiting for: [user_regularewn6im0202@test-domain.com:message:received:content_lmofg10206]

2021-12-23 08:44:19 | [Mutex] waiting for: [user_regularewn6im0202@test-domain.com:message:received:content_lmofg10206]

2021-12-23 08:44:19 | [Mutex] received everything.

2021-12-23 08:44:19 | [Mutex] isItemNotified: user_regularewn6im0202@test-domain.com:message:received:content_lmofg10206 :: true

2021-12-23 08:44:19 |


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


2021-12-23 08:44:19 | [Mutex] received everything.

2021-12-23 08:44:19 | [Mutex] isItemNotified: node_ozmsaz0203:subscribe_node:success :: true

2021-12-23 08:44:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-23 08:44:19 | command: <data><node>node_ozmsaz0203</node><expire-at>2021-12-23T16:44:24Z</expire-at><entry><content>content_svfcav0207</content></entry></data>

2021-12-23 08:44:19 | target: http://localhost:8088

2021-12-23 08:44:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-23 08:44:19 | entity: <data><node>node_ozmsaz0203</node><expire-at>2021-12-23T16:44:24Z</expire-at><entry><content>content_svfcav0207</content></entry></data>

2021-12-23 08:44:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Dec 2021 16:44:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-23 08:44:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>82d44a26-9315-4512-a3f0-41c98ae62e7d</value></item-id></result>

2021-12-23 08:44:19 | contains: true

2021-12-23 08:44:27 | [Mutex] waiting for: [user_regularewn6im0202@test-domain.com:message:received:content_svfcav0207]

2021-12-23 08:44:42 | [Mutex] timeout. Not received [user_regularewn6im0202@test-domain.com:message:received:content_svfcav0207]

2021-12-23 08:44:42 | [Mutex] received everything.

2021-12-23 08:44:42 | [Mutex] isItemNotified: user_regularewn6im0202@test-domain.com:message:received:content_svfcav0207 :: false

2021-12-23 08:44:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_svfcav0207 :: true