Generated by TestNG with ReportNG at 22:18 PDT on Monday 18 July 2022
root@ed1b7dd8a1b3 / 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.817s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.608s
2022-07-18 22:32:28 |

2022-07-18 22:32:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-18 22:32:28 | ------------------------------------

2022-07-18 22:32:28 | [Mutex] isItemNotified: node_9dzcpj0204:exists :: false

2022-07-18 22:32:28 | [Mutex] waiting for: [node_9dzcpj0204:create_node]

2022-07-18 22:32:28 | [Mutex] received everything.

2022-07-18 22:32:28 | [Mutex] isItemNotified: node_9dzcpj0204:create_node:success :: true

2022-07-18 22:32:28 | [Mutex] waiting for: [node_9dzcpj0204:subscribe_node]

2022-07-18 22:32:28 | [Mutex] waiting for: [node_9dzcpj0204:subscribe_node]

2022-07-18 22:32:28 | [Mutex] received everything.

2022-07-18 22:32:28 | [Mutex] isItemNotified: node_9dzcpj0204:subscribe_node:success :: true

2022-07-18 22:32:28 |


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


2022-07-18 22:32:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-18 22:32:28 | command: <data><node>node_9dzcpj0204</node><entry><content>content_9i2gq80205</content></entry></data>

2022-07-18 22:32:28 | target: http://localhost:8088

2022-07-18 22:32:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-18 22:32:28 | entity: <data><node>node_9dzcpj0204</node><entry><content>content_9i2gq80205</content></entry></data>

2022-07-18 22:32:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jul 2022 05:32:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-18 22:32:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>29269df0-21ac-416c-8fba-164b899e54b5</value></item-id></result>

2022-07-18 22:32:28 | contains: true

2022-07-18 22:32:28 | [Mutex] received everything.

2022-07-18 22:32:28 | [Mutex] isItemNotified: user_regular2a98r30203@test-domain.com:message:received:content_9i2gq80205 :: true

2022-07-18 22:32:28 |


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


2022-07-18 22:32:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-18 22:32:28 | command: <data><node>node_9dzcpj0204</node><expire-at>2022-07-19T05:32:23Z</expire-at><entry><content>content_nb22xl0206</content></entry></data>

2022-07-18 22:32:28 | target: http://localhost:8088

2022-07-18 22:32:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-18 22:32:28 | entity: <data><node>node_9dzcpj0204</node><expire-at>2022-07-19T05:32:23Z</expire-at><entry><content>content_nb22xl0206</content></entry></data>

2022-07-18 22:32:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jul 2022 05:32:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-18 22:32:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>780423c0-f159-4c76-a25e-4ef3476811fa</value></item-id></result>

2022-07-18 22:32:28 | contains: true

2022-07-18 22:32:28 | [Mutex] waiting for: [user_regular2a98r30203@test-domain.com:message:received:content_nb22xl0206]

2022-07-18 22:32:43 | [Mutex] timeout. Not received [user_regular2a98r30203@test-domain.com:message:received:content_nb22xl0206]

2022-07-18 22:32:43 | [Mutex] isItemNotified: user_regular2a98r30203@test-domain.com:message:received:content_nb22xl0206 :: false

2022-07-18 22:32:43 |


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


2022-07-18 22:32:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-18 22:32:43 | command: <data><node>node_9dzcpj0204</node><entry><content>content_3kon7p0207</content></entry></data>

2022-07-18 22:32:43 | target: http://localhost:8088

2022-07-18 22:32:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-18 22:32:43 | entity: <data><node>node_9dzcpj0204</node><entry><content>content_3kon7p0207</content></entry></data>

2022-07-18 22:32:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jul 2022 05:32:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-18 22:32:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>af6e47f0-cb75-4f86-8391-912cb8be53a5</value></item-id></result>

2022-07-18 22:32:43 | contains: true

2022-07-18 22:32:48 | [Mutex] waiting for: [user_regular2a98r30203@test-domain.com:message:received:content_3kon7p0207]

2022-07-18 22:32:48 | [Mutex] waiting for: [user_regular2a98r30203@test-domain.com:message:received:content_3kon7p0207]

2022-07-18 22:32:48 | [Mutex] received everything.

2022-07-18 22:32:48 | [Mutex] isItemNotified: user_regular2a98r30203@test-domain.com:message:received:content_3kon7p0207 :: true

2022-07-18 22:32:48 |


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


2022-07-18 22:32:48 | [Mutex] received everything.

2022-07-18 22:32:48 | [Mutex] isItemNotified: node_9dzcpj0204:subscribe_node:success :: true

2022-07-18 22:32:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-18 22:32:48 | command: <data><node>node_9dzcpj0204</node><expire-at>2022-07-19T05:32:53Z</expire-at><entry><content>content_27kefo0208</content></entry></data>

2022-07-18 22:32:48 | target: http://localhost:8088

2022-07-18 22:32:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-18 22:32:48 | entity: <data><node>node_9dzcpj0204</node><expire-at>2022-07-19T05:32:53Z</expire-at><entry><content>content_27kefo0208</content></entry></data>

2022-07-18 22:32:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jul 2022 05:32:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-18 22:32:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3eecde2f-4f3d-4b6e-b7b2-ac1dffac774b</value></item-id></result>

2022-07-18 22:32:48 | contains: true

2022-07-18 22:32:56 | [Mutex] waiting for: [user_regular2a98r30203@test-domain.com:message:received:content_27kefo0208]

2022-07-18 22:33:11 | [Mutex] timeout. Not received [user_regular2a98r30203@test-domain.com:message:received:content_27kefo0208]

2022-07-18 22:33:11 | [Mutex] received everything.

2022-07-18 22:33:11 | [Mutex] isItemNotified: user_regular2a98r30203@test-domain.com:message:received:content_27kefo0208 :: false

2022-07-18 22:33:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_27kefo0208 :: true