Generated by TestNG with ReportNG at 09:05 PST on Tuesday 21 December 2021
root@f29ef40080b5 / 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.673s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.726s
2021-12-21 09:21:33 |

2021-12-21 09:21:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-12-21 09:21:33 | ------------------------------------

2021-12-21 09:21:33 | [Mutex] isItemNotified: node_ptujaw0203:exists :: false

2021-12-21 09:21:33 | [Mutex] waiting for: [node_ptujaw0203:create_node]

2021-12-21 09:21:33 | [Mutex] received everything.

2021-12-21 09:21:33 | [Mutex] isItemNotified: node_ptujaw0203:create_node:success :: true

2021-12-21 09:21:33 | [Mutex] waiting for: [node_ptujaw0203:subscribe_node]

2021-12-21 09:21:33 | [Mutex] waiting for: [node_ptujaw0203:subscribe_node]

2021-12-21 09:21:33 | [Mutex] received everything.

2021-12-21 09:21:33 | [Mutex] isItemNotified: node_ptujaw0203:subscribe_node:success :: true

2021-12-21 09:21:33 |


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


2021-12-21 09:21:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-21 09:21:33 | command: <data><node>node_ptujaw0203</node><entry><content>content_gpngdu0204</content></entry></data>

2021-12-21 09:21:33 | target: http://localhost:8088

2021-12-21 09:21:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-21 09:21:33 | entity: <data><node>node_ptujaw0203</node><entry><content>content_gpngdu0204</content></entry></data>

2021-12-21 09:21:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Dec 2021 17:21:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-21 09:21:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ab6150a5-f2ac-4648-bfd1-a997270d60cd</value></item-id></result>

2021-12-21 09:21:33 | contains: true

2021-12-21 09:21:33 | [Mutex] received everything.

2021-12-21 09:21:33 | [Mutex] isItemNotified: user_regular44tr9x0202@test-domain.com:message:received:content_gpngdu0204 :: true

2021-12-21 09:21:33 |


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


2021-12-21 09:21:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-21 09:21:33 | command: <data><node>node_ptujaw0203</node><expire-at>2021-12-21T17:21:28Z</expire-at><entry><content>content_9287io0205</content></entry></data>

2021-12-21 09:21:33 | target: http://localhost:8088

2021-12-21 09:21:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-21 09:21:33 | entity: <data><node>node_ptujaw0203</node><expire-at>2021-12-21T17:21:28Z</expire-at><entry><content>content_9287io0205</content></entry></data>

2021-12-21 09:21:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Dec 2021 17:21:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-21 09:21:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5339c86b-2b97-4509-9e1c-4e8c488ea46e</value></item-id></result>

2021-12-21 09:21:33 | contains: true

2021-12-21 09:21:33 | [Mutex] waiting for: [user_regular44tr9x0202@test-domain.com:message:received:content_9287io0205]

2021-12-21 09:21:48 | [Mutex] timeout. Not received [user_regular44tr9x0202@test-domain.com:message:received:content_9287io0205]

2021-12-21 09:21:48 | [Mutex] isItemNotified: user_regular44tr9x0202@test-domain.com:message:received:content_9287io0205 :: false

2021-12-21 09:21:48 |


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


2021-12-21 09:21:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-21 09:21:49 | command: <data><node>node_ptujaw0203</node><entry><content>content_rgz1vw0206</content></entry></data>

2021-12-21 09:21:49 | target: http://localhost:8088

2021-12-21 09:21:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-21 09:21:49 | entity: <data><node>node_ptujaw0203</node><entry><content>content_rgz1vw0206</content></entry></data>

2021-12-21 09:21:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Dec 2021 17:21:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-21 09:21:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ad2a05ce-565d-46ba-a1d3-b74ff490f13e</value></item-id></result>

2021-12-21 09:21:49 | contains: true

2021-12-21 09:21:54 | [Mutex] waiting for: [user_regular44tr9x0202@test-domain.com:message:received:content_rgz1vw0206]

2021-12-21 09:21:54 | [Mutex] received everything.

2021-12-21 09:21:54 | [Mutex] isItemNotified: user_regular44tr9x0202@test-domain.com:message:received:content_rgz1vw0206 :: true

2021-12-21 09:21:54 |


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


2021-12-21 09:21:54 | [Mutex] received everything.

2021-12-21 09:21:54 | [Mutex] isItemNotified: node_ptujaw0203:subscribe_node:success :: true

2021-12-21 09:21:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-21 09:21:54 | command: <data><node>node_ptujaw0203</node><expire-at>2021-12-21T17:21:59Z</expire-at><entry><content>content_t99abi0207</content></entry></data>

2021-12-21 09:21:54 | target: http://localhost:8088

2021-12-21 09:21:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-21 09:21:54 | entity: <data><node>node_ptujaw0203</node><expire-at>2021-12-21T17:21:59Z</expire-at><entry><content>content_t99abi0207</content></entry></data>

2021-12-21 09:21:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Dec 2021 17:21:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-21 09:21:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>aaaecf71-92ca-4160-a727-028a0e9abb69</value></item-id></result>

2021-12-21 09:21:54 | contains: true

2021-12-21 09:22:02 | [Mutex] waiting for: [user_regular44tr9x0202@test-domain.com:message:received:content_t99abi0207]

2021-12-21 09:22:02 | [Mutex] waiting for: [user_regular44tr9x0202@test-domain.com:message:received:content_t99abi0207]

2021-12-21 09:22:17 | [Mutex] timeout. Not received [user_regular44tr9x0202@test-domain.com:message:received:content_t99abi0207]

2021-12-21 09:22:17 | [Mutex] received everything.

2021-12-21 09:22:17 | [Mutex] isItemNotified: user_regular44tr9x0202@test-domain.com:message:received:content_t99abi0207 :: false

2021-12-21 09:22:17 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_t99abi0207 :: true