Generated by TestNG with ReportNG at 22:26 PDT on Tuesday 05 October 2021
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.552s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.741s
2021-10-05 22:42:38 |

2021-10-05 22:42:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-10-05 22:42:38 | ------------------------------------

2021-10-05 22:42:38 | [Mutex] isItemNotified: node_aajg810203:exists :: false

2021-10-05 22:42:38 | [Mutex] waiting for: [node_aajg810203:create_node]

2021-10-05 22:42:38 | [Mutex] received everything.

2021-10-05 22:42:38 | [Mutex] isItemNotified: node_aajg810203:create_node:success :: true

2021-10-05 22:42:38 | [Mutex] waiting for: [node_aajg810203:subscribe_node]

2021-10-05 22:42:38 | [Mutex] received everything.

2021-10-05 22:42:38 | [Mutex] isItemNotified: node_aajg810203:subscribe_node:success :: true

2021-10-05 22:42:38 |


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


2021-10-05 22:42:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-05 22:42:38 | command: <data><node>node_aajg810203</node><entry><content>content_4qkf110204</content></entry></data>

2021-10-05 22:42:38 | target: http://localhost:8088

2021-10-05 22:42:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-05 22:42:38 | entity: <data><node>node_aajg810203</node><entry><content>content_4qkf110204</content></entry></data>

2021-10-05 22:42:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 05:42:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-05 22:42:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>45409e95-7633-47c3-b9fc-1444110b6710</value></item-id></result>

2021-10-05 22:42:38 | contains: true

2021-10-05 22:42:38 | [Mutex] received everything.

2021-10-05 22:42:38 | [Mutex] isItemNotified: user_regular6u2au60202@test-domain.com:message:received:content_4qkf110204 :: true

2021-10-05 22:42:38 |


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


2021-10-05 22:42:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-05 22:42:38 | command: <data><node>node_aajg810203</node><expire-at>2021-10-06T05:42:33Z</expire-at><entry><content>content_28v7cg0205</content></entry></data>

2021-10-05 22:42:38 | target: http://localhost:8088

2021-10-05 22:42:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-05 22:42:38 | entity: <data><node>node_aajg810203</node><expire-at>2021-10-06T05:42:33Z</expire-at><entry><content>content_28v7cg0205</content></entry></data>

2021-10-05 22:42:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 05:42:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-05 22:42:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9a29f9b4-befe-406c-a380-1e296f87c779</value></item-id></result>

2021-10-05 22:42:38 | contains: true

2021-10-05 22:42:38 | [Mutex] waiting for: [user_regular6u2au60202@test-domain.com:message:received:content_28v7cg0205]

2021-10-05 22:42:53 | [Mutex] timeout. Not received [user_regular6u2au60202@test-domain.com:message:received:content_28v7cg0205]

2021-10-05 22:42:53 | [Mutex] isItemNotified: user_regular6u2au60202@test-domain.com:message:received:content_28v7cg0205 :: false

2021-10-05 22:42:53 |


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


2021-10-05 22:42:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-05 22:42:53 | command: <data><node>node_aajg810203</node><entry><content>content_tb9hpa0206</content></entry></data>

2021-10-05 22:42:53 | target: http://localhost:8088

2021-10-05 22:42:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-05 22:42:53 | entity: <data><node>node_aajg810203</node><entry><content>content_tb9hpa0206</content></entry></data>

2021-10-05 22:42:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 05:42:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-05 22:42:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3060bce4-f7f0-467e-b126-aa7bf8fe91d7</value></item-id></result>

2021-10-05 22:42:53 | contains: true

2021-10-05 22:42:58 | [Mutex] waiting for: [user_regular6u2au60202@test-domain.com:message:received:content_tb9hpa0206]

2021-10-05 22:42:58 | [Mutex] received everything.

2021-10-05 22:42:58 | [Mutex] isItemNotified: user_regular6u2au60202@test-domain.com:message:received:content_tb9hpa0206 :: true

2021-10-05 22:42:58 |


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


2021-10-05 22:42:58 | [Mutex] received everything.

2021-10-05 22:42:58 | [Mutex] isItemNotified: node_aajg810203:subscribe_node:success :: true

2021-10-05 22:42:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-05 22:42:59 | command: <data><node>node_aajg810203</node><expire-at>2021-10-06T05:43:04Z</expire-at><entry><content>content_b8wkty0207</content></entry></data>

2021-10-05 22:42:59 | target: http://localhost:8088

2021-10-05 22:42:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-05 22:42:59 | entity: <data><node>node_aajg810203</node><expire-at>2021-10-06T05:43:04Z</expire-at><entry><content>content_b8wkty0207</content></entry></data>

2021-10-05 22:42:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 05:42:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-05 22:42:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1838f3a0-effe-4230-8411-d9d5842288a8</value></item-id></result>

2021-10-05 22:42:59 | contains: true

2021-10-05 22:43:07 | [Mutex] waiting for: [user_regular6u2au60202@test-domain.com:message:received:content_b8wkty0207]

2021-10-05 22:43:07 | [Mutex] waiting for: [user_regular6u2au60202@test-domain.com:message:received:content_b8wkty0207]

2021-10-05 22:43:22 | [Mutex] timeout. Not received [user_regular6u2au60202@test-domain.com:message:received:content_b8wkty0207]

2021-10-05 22:43:22 | [Mutex] received everything.

2021-10-05 22:43:22 | [Mutex] isItemNotified: user_regular6u2au60202@test-domain.com:message:received:content_b8wkty0207 :: false

2021-10-05 22:43:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_b8wkty0207 :: true