Generated by TestNG with ReportNG at 22:26 PDT on Sunday 18 October 2020
root@43fec6d4badf / 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 : 44.989s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.741s
2020-10-18 22:43:31 |

2020-10-18 22:43:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-18 22:43:31 | ------------------------------------

2020-10-18 22:43:31 | [Mutex] isItemNotified: node_o3ga630203:exists :: false

2020-10-18 22:43:31 | [Mutex] waiting for: [node_o3ga630203:create_node]

2020-10-18 22:43:31 | [Mutex] received everything.

2020-10-18 22:43:31 | [Mutex] isItemNotified: node_o3ga630203:create_node:success :: true

2020-10-18 22:43:31 | [Mutex] waiting for: [node_o3ga630203:subscribe_node]

2020-10-18 22:43:31 | [Mutex] received everything.

2020-10-18 22:43:31 | [Mutex] isItemNotified: node_o3ga630203:subscribe_node:success :: true

2020-10-18 22:43:31 |


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


2020-10-18 22:43:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-18 22:43:31 | command: <data><node>node_o3ga630203</node><entry><content>content_3qpzpu0204</content></entry></data>

2020-10-18 22:43:31 | target: http://localhost:8088

2020-10-18 22:43:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-18 22:43:31 | entity: <data><node>node_o3ga630203</node><entry><content>content_3qpzpu0204</content></entry></data>

2020-10-18 22:43:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 05:43:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-18 22:43:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fdf8d0a9-cee2-4636-9fe9-aecd553f0e14</value></item-id></result>

2020-10-18 22:43:31 | contains: true

2020-10-18 22:43:31 | [Mutex] received everything.

2020-10-18 22:43:31 | [Mutex] isItemNotified: user_regulara134zi0202@test-domain.com:message:received:content_3qpzpu0204 :: true

2020-10-18 22:43:31 |


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


2020-10-18 22:43:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-18 22:43:31 | command: <data><node>node_o3ga630203</node><expire-at>2020-10-19T05:43:26Z</expire-at><entry><content>content_hoyf5a0205</content></entry></data>

2020-10-18 22:43:31 | target: http://localhost:8088

2020-10-18 22:43:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-18 22:43:31 | entity: <data><node>node_o3ga630203</node><expire-at>2020-10-19T05:43:26Z</expire-at><entry><content>content_hoyf5a0205</content></entry></data>

2020-10-18 22:43:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 05:43:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-18 22:43:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>69f4f91d-b39a-4a1f-aa62-ba25d2367b0b</value></item-id></result>

2020-10-18 22:43:31 | contains: true

2020-10-18 22:43:31 | [Mutex] waiting for: [user_regulara134zi0202@test-domain.com:message:received:content_hoyf5a0205]

2020-10-18 22:43:46 | [Mutex] timeout. Not received [user_regulara134zi0202@test-domain.com:message:received:content_hoyf5a0205]

2020-10-18 22:43:46 | [Mutex] isItemNotified: user_regulara134zi0202@test-domain.com:message:received:content_hoyf5a0205 :: false

2020-10-18 22:43:46 |


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


2020-10-18 22:43:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-18 22:43:46 | command: <data><node>node_o3ga630203</node><entry><content>content_jd5b9z0206</content></entry></data>

2020-10-18 22:43:46 | target: http://localhost:8088

2020-10-18 22:43:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-18 22:43:46 | entity: <data><node>node_o3ga630203</node><entry><content>content_jd5b9z0206</content></entry></data>

2020-10-18 22:43:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 05:43:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-18 22:43:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e7ed273c-cacd-4d3e-9dd0-d8e9be55950c</value></item-id></result>

2020-10-18 22:43:46 | contains: true

2020-10-18 22:43:51 | [Mutex] waiting for: [user_regulara134zi0202@test-domain.com:message:received:content_jd5b9z0206]

2020-10-18 22:43:51 | [Mutex] received everything.

2020-10-18 22:43:51 | [Mutex] isItemNotified: user_regulara134zi0202@test-domain.com:message:received:content_jd5b9z0206 :: true

2020-10-18 22:43:51 |


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


2020-10-18 22:43:51 | [Mutex] received everything.

2020-10-18 22:43:51 | [Mutex] isItemNotified: node_o3ga630203:subscribe_node:success :: true

2020-10-18 22:43:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-18 22:43:51 | command: <data><node>node_o3ga630203</node><expire-at>2020-10-19T05:43:56Z</expire-at><entry><content>content_jiswwg0207</content></entry></data>

2020-10-18 22:43:51 | target: http://localhost:8088

2020-10-18 22:43:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-18 22:43:51 | entity: <data><node>node_o3ga630203</node><expire-at>2020-10-19T05:43:56Z</expire-at><entry><content>content_jiswwg0207</content></entry></data>

2020-10-18 22:43:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 05:43:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-18 22:43:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c0f05a31-8879-480a-8f6a-f5f624023bc4</value></item-id></result>

2020-10-18 22:43:51 | contains: true

2020-10-18 22:43:59 | [Mutex] waiting for: [user_regulara134zi0202@test-domain.com:message:received:content_jiswwg0207]

2020-10-18 22:44:14 | [Mutex] timeout. Not received [user_regulara134zi0202@test-domain.com:message:received:content_jiswwg0207]

2020-10-18 22:44:14 | [Mutex] received everything.

2020-10-18 22:44:14 | [Mutex] isItemNotified: user_regulara134zi0202@test-domain.com:message:received:content_jiswwg0207 :: false

2020-10-18 22:44:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jiswwg0207 :: true