Generated by TestNG with ReportNG at 04:22 PST on Thursday 17 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.775s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.789s
2022-02-17 04:37:29 |

2022-02-17 04:37:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-17 04:37:29 | ------------------------------------

2022-02-17 04:37:29 | [Mutex] isItemNotified: node_2nnygz0203:exists :: false

2022-02-17 04:37:29 | [Mutex] waiting for: [node_2nnygz0203:create_node]

2022-02-17 04:37:29 | [Mutex] received everything.

2022-02-17 04:37:29 | [Mutex] isItemNotified: node_2nnygz0203:create_node:success :: true

2022-02-17 04:37:29 | [Mutex] waiting for: [node_2nnygz0203:subscribe_node]

2022-02-17 04:37:29 | [Mutex] waiting for: [node_2nnygz0203:subscribe_node]

2022-02-17 04:37:29 | [Mutex] received everything.

2022-02-17 04:37:29 | [Mutex] isItemNotified: node_2nnygz0203:subscribe_node:success :: true

2022-02-17 04:37:29 |


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


2022-02-17 04:37:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-17 04:37:29 | command: <data><node>node_2nnygz0203</node><entry><content>content_6bi5w20204</content></entry></data>

2022-02-17 04:37:29 | target: http://localhost:8088

2022-02-17 04:37:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-17 04:37:29 | entity: <data><node>node_2nnygz0203</node><entry><content>content_6bi5w20204</content></entry></data>

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

2022-02-17 04:37:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bcf96bab-8d99-4da2-b349-e1244abdb2b3</value></item-id></result>

2022-02-17 04:37:29 | contains: true

2022-02-17 04:37:29 | [Mutex] received everything.

2022-02-17 04:37:29 | [Mutex] isItemNotified: user_regulara3kyf20202@test-domain.com:message:received:content_6bi5w20204 :: true

2022-02-17 04:37:29 |


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


2022-02-17 04:37:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-17 04:37:29 | command: <data><node>node_2nnygz0203</node><expire-at>2022-02-17T12:37:24Z</expire-at><entry><content>content_l14ap30205</content></entry></data>

2022-02-17 04:37:29 | target: http://localhost:8088

2022-02-17 04:37:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-17 04:37:29 | entity: <data><node>node_2nnygz0203</node><expire-at>2022-02-17T12:37:24Z</expire-at><entry><content>content_l14ap30205</content></entry></data>

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

2022-02-17 04:37:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e31d42d8-f8d9-4ec1-bdd4-e2f6415f675b</value></item-id></result>

2022-02-17 04:37:29 | contains: true

2022-02-17 04:37:29 | [Mutex] waiting for: [user_regulara3kyf20202@test-domain.com:message:received:content_l14ap30205]

2022-02-17 04:37:44 | [Mutex] timeout. Not received [user_regulara3kyf20202@test-domain.com:message:received:content_l14ap30205]

2022-02-17 04:37:44 | [Mutex] isItemNotified: user_regulara3kyf20202@test-domain.com:message:received:content_l14ap30205 :: false

2022-02-17 04:37:44 |


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


2022-02-17 04:37:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-17 04:37:44 | command: <data><node>node_2nnygz0203</node><entry><content>content_b0j2860206</content></entry></data>

2022-02-17 04:37:44 | target: http://localhost:8088

2022-02-17 04:37:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-17 04:37:44 | entity: <data><node>node_2nnygz0203</node><entry><content>content_b0j2860206</content></entry></data>

2022-02-17 04:37:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:37:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 04:37:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c6ad33b0-bbda-4629-a06b-120f7489cbbd</value></item-id></result>

2022-02-17 04:37:44 | contains: true

2022-02-17 04:37:50 | [Mutex] waiting for: [user_regulara3kyf20202@test-domain.com:message:received:content_b0j2860206]

2022-02-17 04:37:50 | [Mutex] received everything.

2022-02-17 04:37:50 | [Mutex] isItemNotified: user_regulara3kyf20202@test-domain.com:message:received:content_b0j2860206 :: true

2022-02-17 04:37:50 |


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


2022-02-17 04:37:50 | [Mutex] received everything.

2022-02-17 04:37:50 | [Mutex] isItemNotified: node_2nnygz0203:subscribe_node:success :: true

2022-02-17 04:37:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-17 04:37:50 | command: <data><node>node_2nnygz0203</node><expire-at>2022-02-17T12:37:55Z</expire-at><entry><content>content_1yrpbp0207</content></entry></data>

2022-02-17 04:37:50 | target: http://localhost:8088

2022-02-17 04:37:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-17 04:37:50 | entity: <data><node>node_2nnygz0203</node><expire-at>2022-02-17T12:37:55Z</expire-at><entry><content>content_1yrpbp0207</content></entry></data>

2022-02-17 04:37:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:37:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 04:37:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>20d6d76b-752b-4609-a28f-42f683e692b1</value></item-id></result>

2022-02-17 04:37:50 | contains: true

2022-02-17 04:37:58 | [Mutex] waiting for: [user_regulara3kyf20202@test-domain.com:message:received:content_1yrpbp0207]

2022-02-17 04:37:58 | [Mutex] waiting for: [user_regulara3kyf20202@test-domain.com:message:received:content_1yrpbp0207]

2022-02-17 04:38:13 | [Mutex] timeout. Not received [user_regulara3kyf20202@test-domain.com:message:received:content_1yrpbp0207]

2022-02-17 04:38:13 | [Mutex] received everything.

2022-02-17 04:38:13 | [Mutex] isItemNotified: user_regulara3kyf20202@test-domain.com:message:received:content_1yrpbp0207 :: false

2022-02-17 04:38:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1yrpbp0207 :: true