Generated by TestNG with ReportNG at 22:22 PDT on Sunday 01 May 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / 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 : 44.659s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.673s
2022-05-01 22:36:46 |

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

2022-05-01 22:36:46 | ------------------------------------

2022-05-01 22:36:46 | [Mutex] isItemNotified: node_lnkorw0204:exists :: false

2022-05-01 22:36:46 | [Mutex] waiting for: [node_lnkorw0204:create_node]

2022-05-01 22:36:46 | [Mutex] received everything.

2022-05-01 22:36:46 | [Mutex] isItemNotified: node_lnkorw0204:create_node:success :: true

2022-05-01 22:36:46 | [Mutex] waiting for: [node_lnkorw0204:subscribe_node]

2022-05-01 22:36:46 | [Mutex] received everything.

2022-05-01 22:36:46 | [Mutex] isItemNotified: node_lnkorw0204:subscribe_node:success :: true

2022-05-01 22:36:46 |


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


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

2022-05-01 22:36:46 | command: <data><node>node_lnkorw0204</node><entry><content>content_7up1lj0205</content></entry></data>

2022-05-01 22:36:46 | target: http://localhost:8088

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

2022-05-01 22:36:46 | entity: <data><node>node_lnkorw0204</node><entry><content>content_7up1lj0205</content></entry></data>

2022-05-01 22:36:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 May 2022 05:36:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-01 22:36:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7e7ada2f-c0db-4489-a755-fa2591dc1c64</value></item-id></result>

2022-05-01 22:36:46 | contains: true

2022-05-01 22:36:46 | [Mutex] received everything.

2022-05-01 22:36:46 | [Mutex] isItemNotified: user_regulareedxpy0203@test-domain.com:message:received:content_7up1lj0205 :: true

2022-05-01 22:36:46 |


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


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

2022-05-01 22:36:46 | command: <data><node>node_lnkorw0204</node><expire-at>2022-05-02T05:36:41Z</expire-at><entry><content>content_xv7f4c0206</content></entry></data>

2022-05-01 22:36:46 | target: http://localhost:8088

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

2022-05-01 22:36:46 | entity: <data><node>node_lnkorw0204</node><expire-at>2022-05-02T05:36:41Z</expire-at><entry><content>content_xv7f4c0206</content></entry></data>

2022-05-01 22:36:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 May 2022 05:36:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-01 22:36:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bbb9f3e8-2cb1-4f59-a0b5-6d0d1634b7fc</value></item-id></result>

2022-05-01 22:36:46 | contains: true

2022-05-01 22:36:46 | [Mutex] waiting for: [user_regulareedxpy0203@test-domain.com:message:received:content_xv7f4c0206]

2022-05-01 22:37:01 | [Mutex] timeout. Not received [user_regulareedxpy0203@test-domain.com:message:received:content_xv7f4c0206]

2022-05-01 22:37:01 | [Mutex] isItemNotified: user_regulareedxpy0203@test-domain.com:message:received:content_xv7f4c0206 :: false

2022-05-01 22:37:01 |


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


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

2022-05-01 22:37:01 | command: <data><node>node_lnkorw0204</node><entry><content>content_r6s5bb0207</content></entry></data>

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

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

2022-05-01 22:37:01 | entity: <data><node>node_lnkorw0204</node><entry><content>content_r6s5bb0207</content></entry></data>

2022-05-01 22:37:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 May 2022 05:37:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-01 22:37:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>11f4f342-8dee-45c9-8822-73c8aeb49a2f</value></item-id></result>

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

2022-05-01 22:37:07 | [Mutex] waiting for: [user_regulareedxpy0203@test-domain.com:message:received:content_r6s5bb0207]

2022-05-01 22:37:07 | [Mutex] waiting for: [user_regulareedxpy0203@test-domain.com:message:received:content_r6s5bb0207]

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

2022-05-01 22:37:07 | [Mutex] isItemNotified: user_regulareedxpy0203@test-domain.com:message:received:content_r6s5bb0207 :: true

2022-05-01 22:37:07 |


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


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

2022-05-01 22:37:07 | [Mutex] isItemNotified: node_lnkorw0204:subscribe_node:success :: true

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

2022-05-01 22:37:07 | command: <data><node>node_lnkorw0204</node><expire-at>2022-05-02T05:37:12Z</expire-at><entry><content>content_rcyt1b0208</content></entry></data>

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

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

2022-05-01 22:37:07 | entity: <data><node>node_lnkorw0204</node><expire-at>2022-05-02T05:37:12Z</expire-at><entry><content>content_rcyt1b0208</content></entry></data>

2022-05-01 22:37:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 May 2022 05:37:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-01 22:37:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0961e3b5-c33d-4b7c-b322-5870712ad9c0</value></item-id></result>

2022-05-01 22:37:07 | contains: true

2022-05-01 22:37:15 | [Mutex] waiting for: [user_regulareedxpy0203@test-domain.com:message:received:content_rcyt1b0208]

2022-05-01 22:37:30 | [Mutex] timeout. Not received [user_regulareedxpy0203@test-domain.com:message:received:content_rcyt1b0208]

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

2022-05-01 22:37:30 | [Mutex] isItemNotified: user_regulareedxpy0203@test-domain.com:message:received:content_rcyt1b0208 :: false

2022-05-01 22:37:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rcyt1b0208 :: true