Generated by TestNG with ReportNG at 22:22 PDT on Monday 05 September 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.979s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.628s
2022-09-05 22:36:49 |

2022-09-05 22:36:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-09-05 22:36:49 | ------------------------------------

2022-09-05 22:36:49 | [Mutex] isItemNotified: node_lvd7j40204:exists :: false

2022-09-05 22:36:49 | [Mutex] waiting for: [node_lvd7j40204:create_node]

2022-09-05 22:36:49 | [Mutex] received everything.

2022-09-05 22:36:49 | [Mutex] isItemNotified: node_lvd7j40204:create_node:success :: true

2022-09-05 22:36:49 | [Mutex] waiting for: [node_lvd7j40204:subscribe_node]

2022-09-05 22:36:49 | [Mutex] waiting for: [node_lvd7j40204:subscribe_node]

2022-09-05 22:36:49 | [Mutex] received everything.

2022-09-05 22:36:49 | [Mutex] isItemNotified: node_lvd7j40204:subscribe_node:success :: true

2022-09-05 22:36:49 |


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


2022-09-05 22:36:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-05 22:36:49 | command: <data><node>node_lvd7j40204</node><entry><content>content_xysyfs0205</content></entry></data>

2022-09-05 22:36:49 | target: http://localhost:8088

2022-09-05 22:36:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-05 22:36:49 | entity: <data><node>node_lvd7j40204</node><entry><content>content_xysyfs0205</content></entry></data>

2022-09-05 22:36:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 05:36:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-05 22:36:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a8079399-5b6e-46be-93cf-4d5b95bb828b</value></item-id></result>

2022-09-05 22:36:49 | contains: true

2022-09-05 22:36:49 | [Mutex] received everything.

2022-09-05 22:36:49 | [Mutex] isItemNotified: user_regularldnf4y0203@test-domain.com:message:received:content_xysyfs0205 :: true

2022-09-05 22:36:49 |


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


2022-09-05 22:36:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-05 22:36:49 | command: <data><node>node_lvd7j40204</node><expire-at>2022-09-06T05:36:44Z</expire-at><entry><content>content_na5xw00206</content></entry></data>

2022-09-05 22:36:49 | target: http://localhost:8088

2022-09-05 22:36:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-05 22:36:49 | entity: <data><node>node_lvd7j40204</node><expire-at>2022-09-06T05:36:44Z</expire-at><entry><content>content_na5xw00206</content></entry></data>

2022-09-05 22:36:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 05:36:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-05 22:36:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>75a05b1f-835d-48eb-af28-5ff6a5dccfc6</value></item-id></result>

2022-09-05 22:36:49 | contains: true

2022-09-05 22:36:49 | [Mutex] waiting for: [user_regularldnf4y0203@test-domain.com:message:received:content_na5xw00206]

2022-09-05 22:37:04 | [Mutex] timeout. Not received [user_regularldnf4y0203@test-domain.com:message:received:content_na5xw00206]

2022-09-05 22:37:04 | [Mutex] isItemNotified: user_regularldnf4y0203@test-domain.com:message:received:content_na5xw00206 :: false

2022-09-05 22:37:04 |


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


2022-09-05 22:37:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-05 22:37:04 | command: <data><node>node_lvd7j40204</node><entry><content>content_sb2xry0207</content></entry></data>

2022-09-05 22:37:04 | target: http://localhost:8088

2022-09-05 22:37:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-05 22:37:04 | entity: <data><node>node_lvd7j40204</node><entry><content>content_sb2xry0207</content></entry></data>

2022-09-05 22:37:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 05:37:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-05 22:37:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a336e7b5-dd10-47be-9799-37ad2c6f2e63</value></item-id></result>

2022-09-05 22:37:04 | contains: true

2022-09-05 22:37:09 | [Mutex] waiting for: [user_regularldnf4y0203@test-domain.com:message:received:content_sb2xry0207]

2022-09-05 22:37:09 | [Mutex] waiting for: [user_regularldnf4y0203@test-domain.com:message:received:content_sb2xry0207]

2022-09-05 22:37:09 | [Mutex] received everything.

2022-09-05 22:37:09 | [Mutex] isItemNotified: user_regularldnf4y0203@test-domain.com:message:received:content_sb2xry0207 :: true

2022-09-05 22:37:09 |


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


2022-09-05 22:37:09 | [Mutex] received everything.

2022-09-05 22:37:09 | [Mutex] isItemNotified: node_lvd7j40204:subscribe_node:success :: true

2022-09-05 22:37:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-05 22:37:09 | command: <data><node>node_lvd7j40204</node><expire-at>2022-09-06T05:37:14Z</expire-at><entry><content>content_nme5kr0208</content></entry></data>

2022-09-05 22:37:09 | target: http://localhost:8088

2022-09-05 22:37:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-05 22:37:09 | entity: <data><node>node_lvd7j40204</node><expire-at>2022-09-06T05:37:14Z</expire-at><entry><content>content_nme5kr0208</content></entry></data>

2022-09-05 22:37:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 05:37:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-05 22:37:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>078e05a1-b5bd-4f3f-8254-c74536e3ea71</value></item-id></result>

2022-09-05 22:37:09 | contains: true

2022-09-05 22:37:17 | [Mutex] waiting for: [user_regularldnf4y0203@test-domain.com:message:received:content_nme5kr0208]

2022-09-05 22:37:17 | [Mutex] waiting for: [user_regularldnf4y0203@test-domain.com:message:received:content_nme5kr0208]

2022-09-05 22:37:32 | [Mutex] timeout. Not received [user_regularldnf4y0203@test-domain.com:message:received:content_nme5kr0208]

2022-09-05 22:37:32 | [Mutex] received everything.

2022-09-05 22:37:32 | [Mutex] isItemNotified: user_regularldnf4y0203@test-domain.com:message:received:content_nme5kr0208 :: false

2022-09-05 22:37:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_nme5kr0208 :: true