Generated by TestNG with ReportNG at 22:18 PDT on Sunday 24 July 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.868s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.627s
2022-07-24 22:33:27 |

2022-07-24 22:33:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-24 22:33:27 | ------------------------------------

2022-07-24 22:33:27 | [Mutex] isItemNotified: node_db2one0204:exists :: false

2022-07-24 22:33:27 | [Mutex] waiting for: [node_db2one0204:create_node]

2022-07-24 22:33:27 | [Mutex] received everything.

2022-07-24 22:33:27 | [Mutex] isItemNotified: node_db2one0204:create_node:success :: true

2022-07-24 22:33:27 | [Mutex] waiting for: [node_db2one0204:subscribe_node]

2022-07-24 22:33:27 | [Mutex] waiting for: [node_db2one0204:subscribe_node]

2022-07-24 22:33:27 | [Mutex] received everything.

2022-07-24 22:33:27 | [Mutex] isItemNotified: node_db2one0204:subscribe_node:success :: true

2022-07-24 22:33:27 |


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


2022-07-24 22:33:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-24 22:33:27 | command: <data><node>node_db2one0204</node><entry><content>content_5prpxx0205</content></entry></data>

2022-07-24 22:33:27 | target: http://localhost:8088

2022-07-24 22:33:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-24 22:33:27 | entity: <data><node>node_db2one0204</node><entry><content>content_5prpxx0205</content></entry></data>

2022-07-24 22:33:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Jul 2022 05:33:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-24 22:33:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>472808e9-f8b1-407b-8654-5ff695a0c026</value></item-id></result>

2022-07-24 22:33:27 | contains: true

2022-07-24 22:33:27 | [Mutex] received everything.

2022-07-24 22:33:27 | [Mutex] isItemNotified: user_regularqd8d640203@test-domain.com:message:received:content_5prpxx0205 :: true

2022-07-24 22:33:27 |


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


2022-07-24 22:33:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-24 22:33:27 | command: <data><node>node_db2one0204</node><expire-at>2022-07-25T05:33:22Z</expire-at><entry><content>content_mamzmf0206</content></entry></data>

2022-07-24 22:33:27 | target: http://localhost:8088

2022-07-24 22:33:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-24 22:33:27 | entity: <data><node>node_db2one0204</node><expire-at>2022-07-25T05:33:22Z</expire-at><entry><content>content_mamzmf0206</content></entry></data>

2022-07-24 22:33:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Jul 2022 05:33:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-24 22:33:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>37490847-9a7c-4f1c-977c-4ba570b326c6</value></item-id></result>

2022-07-24 22:33:27 | contains: true

2022-07-24 22:33:27 | [Mutex] waiting for: [user_regularqd8d640203@test-domain.com:message:received:content_mamzmf0206]

2022-07-24 22:33:42 | [Mutex] timeout. Not received [user_regularqd8d640203@test-domain.com:message:received:content_mamzmf0206]

2022-07-24 22:33:42 | [Mutex] isItemNotified: user_regularqd8d640203@test-domain.com:message:received:content_mamzmf0206 :: false

2022-07-24 22:33:42 |


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


2022-07-24 22:33:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-24 22:33:42 | command: <data><node>node_db2one0204</node><entry><content>content_9rg6lk0207</content></entry></data>

2022-07-24 22:33:42 | target: http://localhost:8088

2022-07-24 22:33:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-24 22:33:42 | entity: <data><node>node_db2one0204</node><entry><content>content_9rg6lk0207</content></entry></data>

2022-07-24 22:33:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Jul 2022 05:33:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-24 22:33:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3ea94838-9abe-4f11-a087-8a01ee688842</value></item-id></result>

2022-07-24 22:33:42 | contains: true

2022-07-24 22:33:47 | [Mutex] waiting for: [user_regularqd8d640203@test-domain.com:message:received:content_9rg6lk0207]

2022-07-24 22:33:47 | [Mutex] waiting for: [user_regularqd8d640203@test-domain.com:message:received:content_9rg6lk0207]

2022-07-24 22:33:47 | [Mutex] received everything.

2022-07-24 22:33:47 | [Mutex] isItemNotified: user_regularqd8d640203@test-domain.com:message:received:content_9rg6lk0207 :: true

2022-07-24 22:33:47 |


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


2022-07-24 22:33:47 | [Mutex] received everything.

2022-07-24 22:33:47 | [Mutex] isItemNotified: node_db2one0204:subscribe_node:success :: true

2022-07-24 22:33:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-24 22:33:47 | command: <data><node>node_db2one0204</node><expire-at>2022-07-25T05:33:52Z</expire-at><entry><content>content_qo5tti0208</content></entry></data>

2022-07-24 22:33:47 | target: http://localhost:8088

2022-07-24 22:33:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-24 22:33:47 | entity: <data><node>node_db2one0204</node><expire-at>2022-07-25T05:33:52Z</expire-at><entry><content>content_qo5tti0208</content></entry></data>

2022-07-24 22:33:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Jul 2022 05:33:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-24 22:33:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>89530479-c150-4ea0-a1de-acf4e5a44fc0</value></item-id></result>

2022-07-24 22:33:47 | contains: true

2022-07-24 22:33:56 | [Mutex] waiting for: [user_regularqd8d640203@test-domain.com:message:received:content_qo5tti0208]

2022-07-24 22:34:11 | [Mutex] timeout. Not received [user_regularqd8d640203@test-domain.com:message:received:content_qo5tti0208]

2022-07-24 22:34:11 | [Mutex] received everything.

2022-07-24 22:34:11 | [Mutex] isItemNotified: user_regularqd8d640203@test-domain.com:message:received:content_qo5tti0208 :: false

2022-07-24 22:34:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qo5tti0208 :: true