Generated by TestNG with ReportNG at 21:55 PST on Monday 06 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.511s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.834s
2021-12-06 22:09:18 |

2021-12-06 22:09:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-12-06 22:09:18 | ------------------------------------

2021-12-06 22:09:18 | [Mutex] isItemNotified: node_ddpmy60203:exists :: false

2021-12-06 22:09:18 | [Mutex] waiting for: [node_ddpmy60203:create_node]

2021-12-06 22:09:18 | [Mutex] received everything.

2021-12-06 22:09:18 | [Mutex] isItemNotified: node_ddpmy60203:create_node:success :: true

2021-12-06 22:09:18 | [Mutex] waiting for: [node_ddpmy60203:subscribe_node]

2021-12-06 22:09:18 | [Mutex] waiting for: [node_ddpmy60203:subscribe_node]

2021-12-06 22:09:18 | [Mutex] received everything.

2021-12-06 22:09:18 | [Mutex] isItemNotified: node_ddpmy60203:subscribe_node:success :: true

2021-12-06 22:09:18 |


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


2021-12-06 22:09:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-06 22:09:18 | command: <data><node>node_ddpmy60203</node><entry><content>content_vttx9a0204</content></entry></data>

2021-12-06 22:09:18 | target: http://localhost:8088

2021-12-06 22:09:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-06 22:09:18 | entity: <data><node>node_ddpmy60203</node><entry><content>content_vttx9a0204</content></entry></data>

2021-12-06 22:09:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Dec 2021 06:09:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-06 22:09:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>27e31c9f-3775-44f9-8cca-f3f98ad2b981</value></item-id></result>

2021-12-06 22:09:18 | contains: true

2021-12-06 22:09:18 | [Mutex] received everything.

2021-12-06 22:09:18 | [Mutex] isItemNotified: user_regular8tuvxq0202@test-domain.com:message:received:content_vttx9a0204 :: true

2021-12-06 22:09:18 |


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


2021-12-06 22:09:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-06 22:09:18 | command: <data><node>node_ddpmy60203</node><expire-at>2021-12-07T06:09:13Z</expire-at><entry><content>content_6jl3fa0205</content></entry></data>

2021-12-06 22:09:18 | target: http://localhost:8088

2021-12-06 22:09:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-06 22:09:18 | entity: <data><node>node_ddpmy60203</node><expire-at>2021-12-07T06:09:13Z</expire-at><entry><content>content_6jl3fa0205</content></entry></data>

2021-12-06 22:09:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Dec 2021 06:09:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-06 22:09:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0a6464cf-187f-4317-9ebf-f98f0dd1130d</value></item-id></result>

2021-12-06 22:09:18 | contains: true

2021-12-06 22:09:18 | [Mutex] waiting for: [user_regular8tuvxq0202@test-domain.com:message:received:content_6jl3fa0205]

2021-12-06 22:09:33 | [Mutex] timeout. Not received [user_regular8tuvxq0202@test-domain.com:message:received:content_6jl3fa0205]

2021-12-06 22:09:33 | [Mutex] isItemNotified: user_regular8tuvxq0202@test-domain.com:message:received:content_6jl3fa0205 :: false

2021-12-06 22:09:33 |


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


2021-12-06 22:09:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-06 22:09:33 | command: <data><node>node_ddpmy60203</node><entry><content>content_8r5ayw0206</content></entry></data>

2021-12-06 22:09:33 | target: http://localhost:8088

2021-12-06 22:09:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-06 22:09:33 | entity: <data><node>node_ddpmy60203</node><entry><content>content_8r5ayw0206</content></entry></data>

2021-12-06 22:09:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Dec 2021 06:09:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-06 22:09:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5a4d4bf8-f6a1-48b8-8e0f-40ba32d6f2da</value></item-id></result>

2021-12-06 22:09:33 | contains: true

2021-12-06 22:09:38 | [Mutex] waiting for: [user_regular8tuvxq0202@test-domain.com:message:received:content_8r5ayw0206]

2021-12-06 22:09:38 | [Mutex] received everything.

2021-12-06 22:09:38 | [Mutex] isItemNotified: user_regular8tuvxq0202@test-domain.com:message:received:content_8r5ayw0206 :: true

2021-12-06 22:09:38 |


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


2021-12-06 22:09:38 | [Mutex] received everything.

2021-12-06 22:09:38 | [Mutex] isItemNotified: node_ddpmy60203:subscribe_node:success :: true

2021-12-06 22:09:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-06 22:09:38 | command: <data><node>node_ddpmy60203</node><expire-at>2021-12-07T06:09:43Z</expire-at><entry><content>content_o33fdc0207</content></entry></data>

2021-12-06 22:09:38 | target: http://localhost:8088

2021-12-06 22:09:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-06 22:09:38 | entity: <data><node>node_ddpmy60203</node><expire-at>2021-12-07T06:09:43Z</expire-at><entry><content>content_o33fdc0207</content></entry></data>

2021-12-06 22:09:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Dec 2021 06:09:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-06 22:09:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e50d247e-0d7c-427c-bebe-4ba481aefc5b</value></item-id></result>

2021-12-06 22:09:38 | contains: true

2021-12-06 22:09:47 | [Mutex] waiting for: [user_regular8tuvxq0202@test-domain.com:message:received:content_o33fdc0207]

2021-12-06 22:09:47 | [Mutex] waiting for: [user_regular8tuvxq0202@test-domain.com:message:received:content_o33fdc0207]

2021-12-06 22:10:02 | [Mutex] timeout. Not received [user_regular8tuvxq0202@test-domain.com:message:received:content_o33fdc0207]

2021-12-06 22:10:02 | [Mutex] received everything.

2021-12-06 22:10:02 | [Mutex] isItemNotified: user_regular8tuvxq0202@test-domain.com:message:received:content_o33fdc0207 :: false

2021-12-06 22:10:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_o33fdc0207 :: true