Generated by TestNG with ReportNG at 08:12 PDT on Wednesday 27 October 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.374s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.702s
2021-10-27 08:27:33 |

2021-10-27 08:27:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-10-27 08:27:33 | ------------------------------------

2021-10-27 08:27:33 | [Mutex] isItemNotified: node_3diq5m0203:exists :: false

2021-10-27 08:27:33 | [Mutex] waiting for: [node_3diq5m0203:create_node]

2021-10-27 08:27:33 | [Mutex] received everything.

2021-10-27 08:27:33 | [Mutex] isItemNotified: node_3diq5m0203:create_node:success :: true

2021-10-27 08:27:33 | [Mutex] waiting for: [node_3diq5m0203:subscribe_node]

2021-10-27 08:27:33 | [Mutex] waiting for: [node_3diq5m0203:subscribe_node]

2021-10-27 08:27:33 | [Mutex] received everything.

2021-10-27 08:27:33 | [Mutex] isItemNotified: node_3diq5m0203:subscribe_node:success :: true

2021-10-27 08:27:33 |


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


2021-10-27 08:27:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-27 08:27:33 | command: <data><node>node_3diq5m0203</node><entry><content>content_3980r30204</content></entry></data>

2021-10-27 08:27:33 | target: http://localhost:8088

2021-10-27 08:27:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-27 08:27:33 | entity: <data><node>node_3diq5m0203</node><entry><content>content_3980r30204</content></entry></data>

2021-10-27 08:27:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Oct 2021 15:27:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-27 08:27:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b8b3e5d3-9a86-492f-a016-6cb3cfb51a88</value></item-id></result>

2021-10-27 08:27:33 | contains: true

2021-10-27 08:27:33 | [Mutex] waiting for: [user_regularea0wak0202@test-domain.com:message:received:content_3980r30204]

2021-10-27 08:27:33 | [Mutex] received everything.

2021-10-27 08:27:33 | [Mutex] isItemNotified: user_regularea0wak0202@test-domain.com:message:received:content_3980r30204 :: true

2021-10-27 08:27:33 |


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


2021-10-27 08:27:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-27 08:27:33 | command: <data><node>node_3diq5m0203</node><expire-at>2021-10-27T15:27:28Z</expire-at><entry><content>content_c5io5o0205</content></entry></data>

2021-10-27 08:27:33 | target: http://localhost:8088

2021-10-27 08:27:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-27 08:27:33 | entity: <data><node>node_3diq5m0203</node><expire-at>2021-10-27T15:27:28Z</expire-at><entry><content>content_c5io5o0205</content></entry></data>

2021-10-27 08:27:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Oct 2021 15:27:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-27 08:27:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b4d93de0-6396-484d-ab02-dcbc780ddad8</value></item-id></result>

2021-10-27 08:27:33 | contains: true

2021-10-27 08:27:33 | [Mutex] waiting for: [user_regularea0wak0202@test-domain.com:message:received:content_c5io5o0205]

2021-10-27 08:27:48 | [Mutex] timeout. Not received [user_regularea0wak0202@test-domain.com:message:received:content_c5io5o0205]

2021-10-27 08:27:48 | [Mutex] isItemNotified: user_regularea0wak0202@test-domain.com:message:received:content_c5io5o0205 :: false

2021-10-27 08:27:48 |


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


2021-10-27 08:27:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-27 08:27:48 | command: <data><node>node_3diq5m0203</node><entry><content>content_3a08g00206</content></entry></data>

2021-10-27 08:27:48 | target: http://localhost:8088

2021-10-27 08:27:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-27 08:27:48 | entity: <data><node>node_3diq5m0203</node><entry><content>content_3a08g00206</content></entry></data>

2021-10-27 08:27:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Oct 2021 15:27:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-27 08:27:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b6874c15-6c85-4b33-b9c2-b38ded394c79</value></item-id></result>

2021-10-27 08:27:48 | contains: true

2021-10-27 08:27:53 | [Mutex] waiting for: [user_regularea0wak0202@test-domain.com:message:received:content_3a08g00206]

2021-10-27 08:27:53 | [Mutex] received everything.

2021-10-27 08:27:53 | [Mutex] isItemNotified: user_regularea0wak0202@test-domain.com:message:received:content_3a08g00206 :: true

2021-10-27 08:27:53 |


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


2021-10-27 08:27:53 | [Mutex] received everything.

2021-10-27 08:27:53 | [Mutex] isItemNotified: node_3diq5m0203:subscribe_node:success :: true

2021-10-27 08:27:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-27 08:27:53 | command: <data><node>node_3diq5m0203</node><expire-at>2021-10-27T15:27:58Z</expire-at><entry><content>content_d14bih0207</content></entry></data>

2021-10-27 08:27:53 | target: http://localhost:8088

2021-10-27 08:27:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-27 08:27:53 | entity: <data><node>node_3diq5m0203</node><expire-at>2021-10-27T15:27:58Z</expire-at><entry><content>content_d14bih0207</content></entry></data>

2021-10-27 08:27:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Oct 2021 15:27:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-27 08:27:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>03d9aedc-223e-46b4-9d10-b0e287e91b73</value></item-id></result>

2021-10-27 08:27:53 | contains: true

2021-10-27 08:28:01 | [Mutex] waiting for: [user_regularea0wak0202@test-domain.com:message:received:content_d14bih0207]

2021-10-27 08:28:16 | [Mutex] timeout. Not received [user_regularea0wak0202@test-domain.com:message:received:content_d14bih0207]

2021-10-27 08:28:16 | [Mutex] received everything.

2021-10-27 08:28:16 | [Mutex] isItemNotified: user_regularea0wak0202@test-domain.com:message:received:content_d14bih0207 :: false

2021-10-27 08:28:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_d14bih0207 :: true