Generated by TestNG with ReportNG at 21:57 PST on Sunday 05 December 2021
root@f29ef40080b5 / 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.070s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.596s
2021-12-05 22:13:04 |

2021-12-05 22:13:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-12-05 22:13:04 | ------------------------------------

2021-12-05 22:13:04 | [Mutex] isItemNotified: node_mgunl00203:exists :: false

2021-12-05 22:13:04 | [Mutex] waiting for: [node_mgunl00203:create_node]

2021-12-05 22:13:04 | [Mutex] received everything.

2021-12-05 22:13:04 | [Mutex] isItemNotified: node_mgunl00203:create_node:success :: true

2021-12-05 22:13:04 | [Mutex] waiting for: [node_mgunl00203:subscribe_node]

2021-12-05 22:13:04 | [Mutex] waiting for: [node_mgunl00203:subscribe_node]

2021-12-05 22:13:04 | [Mutex] received everything.

2021-12-05 22:13:04 | [Mutex] isItemNotified: node_mgunl00203:subscribe_node:success :: true

2021-12-05 22:13:04 |


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


2021-12-05 22:13:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 22:13:04 | command: <data><node>node_mgunl00203</node><entry><content>content_9dxkod0204</content></entry></data>

2021-12-05 22:13:04 | target: http://localhost:8088

2021-12-05 22:13:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-05 22:13:04 | entity: <data><node>node_mgunl00203</node><entry><content>content_9dxkod0204</content></entry></data>

2021-12-05 22:13:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 06:13:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 22:13:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fe3d54ff-b956-48db-a557-c098f03035d6</value></item-id></result>

2021-12-05 22:13:04 | contains: true

2021-12-05 22:13:04 | [Mutex] received everything.

2021-12-05 22:13:04 | [Mutex] isItemNotified: user_regularvqppnq0202@test-domain.com:message:received:content_9dxkod0204 :: true

2021-12-05 22:13:04 |


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


2021-12-05 22:13:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 22:13:04 | command: <data><node>node_mgunl00203</node><expire-at>2021-12-06T06:12:59Z</expire-at><entry><content>content_xp0wfl0205</content></entry></data>

2021-12-05 22:13:04 | target: http://localhost:8088

2021-12-05 22:13:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-05 22:13:04 | entity: <data><node>node_mgunl00203</node><expire-at>2021-12-06T06:12:59Z</expire-at><entry><content>content_xp0wfl0205</content></entry></data>

2021-12-05 22:13:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 06:13:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 22:13:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f43f6eaf-2a70-45c2-aee3-8d344ba9a407</value></item-id></result>

2021-12-05 22:13:04 | contains: true

2021-12-05 22:13:04 | [Mutex] waiting for: [user_regularvqppnq0202@test-domain.com:message:received:content_xp0wfl0205]

2021-12-05 22:13:19 | [Mutex] timeout. Not received [user_regularvqppnq0202@test-domain.com:message:received:content_xp0wfl0205]

2021-12-05 22:13:19 | [Mutex] isItemNotified: user_regularvqppnq0202@test-domain.com:message:received:content_xp0wfl0205 :: false

2021-12-05 22:13:19 |


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


2021-12-05 22:13:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 22:13:19 | command: <data><node>node_mgunl00203</node><entry><content>content_3g8cas0206</content></entry></data>

2021-12-05 22:13:19 | target: http://localhost:8088

2021-12-05 22:13:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-05 22:13:19 | entity: <data><node>node_mgunl00203</node><entry><content>content_3g8cas0206</content></entry></data>

2021-12-05 22:13:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 06:13:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 22:13:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2fd86819-9f18-40ed-9885-a9e7a46362bd</value></item-id></result>

2021-12-05 22:13:19 | contains: true

2021-12-05 22:13:24 | [Mutex] waiting for: [user_regularvqppnq0202@test-domain.com:message:received:content_3g8cas0206]

2021-12-05 22:13:24 | [Mutex] received everything.

2021-12-05 22:13:24 | [Mutex] isItemNotified: user_regularvqppnq0202@test-domain.com:message:received:content_3g8cas0206 :: true

2021-12-05 22:13:24 |


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


2021-12-05 22:13:24 | [Mutex] received everything.

2021-12-05 22:13:24 | [Mutex] isItemNotified: node_mgunl00203:subscribe_node:success :: true

2021-12-05 22:13:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 22:13:24 | command: <data><node>node_mgunl00203</node><expire-at>2021-12-06T06:13:29Z</expire-at><entry><content>content_3me2a90207</content></entry></data>

2021-12-05 22:13:24 | target: http://localhost:8088

2021-12-05 22:13:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-05 22:13:24 | entity: <data><node>node_mgunl00203</node><expire-at>2021-12-06T06:13:29Z</expire-at><entry><content>content_3me2a90207</content></entry></data>

2021-12-05 22:13:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 06:13:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 22:13:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>502a5f04-8393-482e-bbff-f047252372c3</value></item-id></result>

2021-12-05 22:13:24 | contains: true

2021-12-05 22:13:32 | [Mutex] waiting for: [user_regularvqppnq0202@test-domain.com:message:received:content_3me2a90207]

2021-12-05 22:13:32 | [Mutex] waiting for: [user_regularvqppnq0202@test-domain.com:message:received:content_3me2a90207]

2021-12-05 22:13:47 | [Mutex] timeout. Not received [user_regularvqppnq0202@test-domain.com:message:received:content_3me2a90207]

2021-12-05 22:13:47 | [Mutex] received everything.

2021-12-05 22:13:47 | [Mutex] isItemNotified: user_regularvqppnq0202@test-domain.com:message:received:content_3me2a90207 :: false

2021-12-05 22:13:47 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3me2a90207 :: true