Generated by TestNG with ReportNG at 21:41 PST on Monday 20 December 2021
root@b2c2a8eba6e6 / 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.670s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.716s
2021-12-20 21:58:00 |

2021-12-20 21:58:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-12-20 21:58:00 | ------------------------------------

2021-12-20 21:58:00 | [Mutex] isItemNotified: node_96zju70203:exists :: false

2021-12-20 21:58:00 | [Mutex] waiting for: [node_96zju70203:create_node]

2021-12-20 21:58:00 | [Mutex] received everything.

2021-12-20 21:58:00 | [Mutex] isItemNotified: node_96zju70203:create_node:success :: true

2021-12-20 21:58:00 | [Mutex] waiting for: [node_96zju70203:subscribe_node]

2021-12-20 21:58:00 | [Mutex] received everything.

2021-12-20 21:58:00 | [Mutex] isItemNotified: node_96zju70203:subscribe_node:success :: true

2021-12-20 21:58:00 |


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


2021-12-20 21:58:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-20 21:58:00 | command: <data><node>node_96zju70203</node><entry><content>content_v483d90204</content></entry></data>

2021-12-20 21:58:00 | target: http://localhost:8088

2021-12-20 21:58:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-20 21:58:00 | entity: <data><node>node_96zju70203</node><entry><content>content_v483d90204</content></entry></data>

2021-12-20 21:58:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Dec 2021 05:58:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-20 21:58:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>95d1be8a-76aa-478a-9647-fdc0eb2a3be2</value></item-id></result>

2021-12-20 21:58:00 | contains: true

2021-12-20 21:58:00 | [Mutex] received everything.

2021-12-20 21:58:00 | [Mutex] isItemNotified: user_regularwfhg8w0202@test-domain.com:message:received:content_v483d90204 :: true

2021-12-20 21:58:00 |


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


2021-12-20 21:58:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-20 21:58:00 | command: <data><node>node_96zju70203</node><expire-at>2021-12-21T05:57:55Z</expire-at><entry><content>content_cfigng0205</content></entry></data>

2021-12-20 21:58:00 | target: http://localhost:8088

2021-12-20 21:58:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-20 21:58:00 | entity: <data><node>node_96zju70203</node><expire-at>2021-12-21T05:57:55Z</expire-at><entry><content>content_cfigng0205</content></entry></data>

2021-12-20 21:58:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Dec 2021 05:58:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-20 21:58:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9f8c7c05-552b-40d8-9b61-f3a066986802</value></item-id></result>

2021-12-20 21:58:00 | contains: true

2021-12-20 21:58:00 | [Mutex] waiting for: [user_regularwfhg8w0202@test-domain.com:message:received:content_cfigng0205]

2021-12-20 21:58:15 | [Mutex] timeout. Not received [user_regularwfhg8w0202@test-domain.com:message:received:content_cfigng0205]

2021-12-20 21:58:15 | [Mutex] isItemNotified: user_regularwfhg8w0202@test-domain.com:message:received:content_cfigng0205 :: false

2021-12-20 21:58:15 |


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


2021-12-20 21:58:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-20 21:58:15 | command: <data><node>node_96zju70203</node><entry><content>content_nk3ckb0206</content></entry></data>

2021-12-20 21:58:15 | target: http://localhost:8088

2021-12-20 21:58:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-20 21:58:15 | entity: <data><node>node_96zju70203</node><entry><content>content_nk3ckb0206</content></entry></data>

2021-12-20 21:58:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Dec 2021 05:58:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-20 21:58:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a7366f95-78fd-4569-a409-28ec1edabde8</value></item-id></result>

2021-12-20 21:58:15 | contains: true

2021-12-20 21:58:20 | [Mutex] waiting for: [user_regularwfhg8w0202@test-domain.com:message:received:content_nk3ckb0206]

2021-12-20 21:58:20 | [Mutex] received everything.

2021-12-20 21:58:20 | [Mutex] isItemNotified: user_regularwfhg8w0202@test-domain.com:message:received:content_nk3ckb0206 :: true

2021-12-20 21:58:20 |


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


2021-12-20 21:58:20 | [Mutex] received everything.

2021-12-20 21:58:20 | [Mutex] isItemNotified: node_96zju70203:subscribe_node:success :: true

2021-12-20 21:58:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-20 21:58:20 | command: <data><node>node_96zju70203</node><expire-at>2021-12-21T05:58:25Z</expire-at><entry><content>content_vu94kd0207</content></entry></data>

2021-12-20 21:58:20 | target: http://localhost:8088

2021-12-20 21:58:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-20 21:58:20 | entity: <data><node>node_96zju70203</node><expire-at>2021-12-21T05:58:25Z</expire-at><entry><content>content_vu94kd0207</content></entry></data>

2021-12-20 21:58:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Dec 2021 05:58:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-20 21:58:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5914373d-9e8b-46ca-80d0-877e74180cc0</value></item-id></result>

2021-12-20 21:58:21 | contains: true

2021-12-20 21:58:29 | [Mutex] waiting for: [user_regularwfhg8w0202@test-domain.com:message:received:content_vu94kd0207]

2021-12-20 21:58:29 | [Mutex] waiting for: [user_regularwfhg8w0202@test-domain.com:message:received:content_vu94kd0207]

2021-12-20 21:58:44 | [Mutex] timeout. Not received [user_regularwfhg8w0202@test-domain.com:message:received:content_vu94kd0207]

2021-12-20 21:58:44 | [Mutex] received everything.

2021-12-20 21:58:44 | [Mutex] isItemNotified: user_regularwfhg8w0202@test-domain.com:message:received:content_vu94kd0207 :: false

2021-12-20 21:58:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vu94kd0207 :: true