Generated by TestNG with ReportNG at 07:34 PDT on Friday 26 August 2022
root@f9c07ffec79b / 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.677s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.687s
2022-08-26 07:48:33 |

2022-08-26 07:48:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-26 07:48:33 | ------------------------------------

2022-08-26 07:48:33 | [Mutex] isItemNotified: node_gktkju0204:exists :: false

2022-08-26 07:48:33 | [Mutex] waiting for: [node_gktkju0204:create_node]

2022-08-26 07:48:33 | [Mutex] received everything.

2022-08-26 07:48:33 | [Mutex] isItemNotified: node_gktkju0204:create_node:success :: true

2022-08-26 07:48:33 | [Mutex] waiting for: [node_gktkju0204:subscribe_node]

2022-08-26 07:48:33 | [Mutex] waiting for: [node_gktkju0204:subscribe_node]

2022-08-26 07:48:33 | [Mutex] received everything.

2022-08-26 07:48:33 | [Mutex] isItemNotified: node_gktkju0204:subscribe_node:success :: true

2022-08-26 07:48:33 |


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


2022-08-26 07:48:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-26 07:48:33 | command: <data><node>node_gktkju0204</node><entry><content>content_19bomo0205</content></entry></data>

2022-08-26 07:48:33 | target: http://localhost:8088

2022-08-26 07:48:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-26 07:48:33 | entity: <data><node>node_gktkju0204</node><entry><content>content_19bomo0205</content></entry></data>

2022-08-26 07:48:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:48:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-26 07:48:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>375ff34a-8386-44ce-8e04-3fe6ee4a192d</value></item-id></result>

2022-08-26 07:48:33 | contains: true

2022-08-26 07:48:33 | [Mutex] waiting for: [user_regularczlnfp0203@test-domain.com:message:received:content_19bomo0205]

2022-08-26 07:48:33 | [Mutex] received everything.

2022-08-26 07:48:33 | [Mutex] isItemNotified: user_regularczlnfp0203@test-domain.com:message:received:content_19bomo0205 :: true

2022-08-26 07:48:33 |


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


2022-08-26 07:48:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-26 07:48:33 | command: <data><node>node_gktkju0204</node><expire-at>2022-08-26T14:48:28Z</expire-at><entry><content>content_9u6n510206</content></entry></data>

2022-08-26 07:48:33 | target: http://localhost:8088

2022-08-26 07:48:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-26 07:48:33 | entity: <data><node>node_gktkju0204</node><expire-at>2022-08-26T14:48:28Z</expire-at><entry><content>content_9u6n510206</content></entry></data>

2022-08-26 07:48:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:48:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-26 07:48:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8b552edd-e03b-444a-992e-b6966d6e5327</value></item-id></result>

2022-08-26 07:48:33 | contains: true

2022-08-26 07:48:33 | [Mutex] waiting for: [user_regularczlnfp0203@test-domain.com:message:received:content_9u6n510206]

2022-08-26 07:48:48 | [Mutex] timeout. Not received [user_regularczlnfp0203@test-domain.com:message:received:content_9u6n510206]

2022-08-26 07:48:48 | [Mutex] isItemNotified: user_regularczlnfp0203@test-domain.com:message:received:content_9u6n510206 :: false

2022-08-26 07:48:48 |


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


2022-08-26 07:48:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-26 07:48:48 | command: <data><node>node_gktkju0204</node><entry><content>content_p6uvyk0207</content></entry></data>

2022-08-26 07:48:48 | target: http://localhost:8088

2022-08-26 07:48:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-26 07:48:48 | entity: <data><node>node_gktkju0204</node><entry><content>content_p6uvyk0207</content></entry></data>

2022-08-26 07:48:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:48:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-26 07:48:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cba5eab1-dcae-4586-b4ab-174ef48054de</value></item-id></result>

2022-08-26 07:48:48 | contains: true

2022-08-26 07:48:53 | [Mutex] waiting for: [user_regularczlnfp0203@test-domain.com:message:received:content_p6uvyk0207]

2022-08-26 07:48:53 | [Mutex] received everything.

2022-08-26 07:48:53 | [Mutex] isItemNotified: user_regularczlnfp0203@test-domain.com:message:received:content_p6uvyk0207 :: true

2022-08-26 07:48:53 |


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


2022-08-26 07:48:53 | [Mutex] received everything.

2022-08-26 07:48:53 | [Mutex] isItemNotified: node_gktkju0204:subscribe_node:success :: true

2022-08-26 07:48:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-26 07:48:53 | command: <data><node>node_gktkju0204</node><expire-at>2022-08-26T14:48:58Z</expire-at><entry><content>content_5l1l590208</content></entry></data>

2022-08-26 07:48:53 | target: http://localhost:8088

2022-08-26 07:48:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-26 07:48:53 | entity: <data><node>node_gktkju0204</node><expire-at>2022-08-26T14:48:58Z</expire-at><entry><content>content_5l1l590208</content></entry></data>

2022-08-26 07:48:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:48:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-26 07:48:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0d4a3228-f565-4ffb-b31d-b629d2d5a57a</value></item-id></result>

2022-08-26 07:48:53 | contains: true

2022-08-26 07:49:01 | [Mutex] waiting for: [user_regularczlnfp0203@test-domain.com:message:received:content_5l1l590208]

2022-08-26 07:49:01 | [Mutex] waiting for: [user_regularczlnfp0203@test-domain.com:message:received:content_5l1l590208]

2022-08-26 07:49:16 | [Mutex] timeout. Not received [user_regularczlnfp0203@test-domain.com:message:received:content_5l1l590208]

2022-08-26 07:49:16 | [Mutex] received everything.

2022-08-26 07:49:16 | [Mutex] isItemNotified: user_regularczlnfp0203@test-domain.com:message:received:content_5l1l590208 :: false

2022-08-26 07:49:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5l1l590208 :: true