Generated by TestNG with ReportNG at 22:42 PDT on Friday 11 September 2020
root@7fc44405bb09 / 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.793s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.751s
2020-09-11 22:58:31 |

2020-09-11 22:58:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-11 22:58:31 | ------------------------------------

2020-09-11 22:58:31 | [Mutex] isItemNotified: node_3ngski0203:exists :: false

2020-09-11 22:58:31 | [Mutex] waiting for: [node_3ngski0203:create_node]

2020-09-11 22:58:31 | [Mutex] received everything.

2020-09-11 22:58:31 | [Mutex] isItemNotified: node_3ngski0203:create_node:success :: true

2020-09-11 22:58:31 | [Mutex] waiting for: [node_3ngski0203:subscribe_node]

2020-09-11 22:58:31 | [Mutex] waiting for: [node_3ngski0203:subscribe_node]

2020-09-11 22:58:31 | [Mutex] received everything.

2020-09-11 22:58:31 | [Mutex] isItemNotified: node_3ngski0203:subscribe_node:success :: true

2020-09-11 22:58:31 |


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


2020-09-11 22:58:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-11 22:58:31 | command: <data><node>node_3ngski0203</node><entry><content>content_wf7wi20204</content></entry></data>

2020-09-11 22:58:31 | target: http://localhost:8088

2020-09-11 22:58:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-11 22:58:31 | entity: <data><node>node_3ngski0203</node><entry><content>content_wf7wi20204</content></entry></data>

2020-09-11 22:58:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 05:58:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-11 22:58:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>01a574bc-c1dc-437b-ba48-29cc018ad48d</value></item-id></result>

2020-09-11 22:58:31 | contains: true

2020-09-11 22:58:31 | [Mutex] received everything.

2020-09-11 22:58:31 | [Mutex] isItemNotified: user_regularicq8th0202@test-domain.com:message:received:content_wf7wi20204 :: true

2020-09-11 22:58:31 |


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


2020-09-11 22:58:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-11 22:58:31 | command: <data><node>node_3ngski0203</node><expire-at>2020-09-12T05:58:26Z</expire-at><entry><content>content_jdxbiw0205</content></entry></data>

2020-09-11 22:58:31 | target: http://localhost:8088

2020-09-11 22:58:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-11 22:58:31 | entity: <data><node>node_3ngski0203</node><expire-at>2020-09-12T05:58:26Z</expire-at><entry><content>content_jdxbiw0205</content></entry></data>

2020-09-11 22:58:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 05:58:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-11 22:58:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>12559e8c-90b5-4a9b-8487-776868d53e75</value></item-id></result>

2020-09-11 22:58:31 | contains: true

2020-09-11 22:58:31 | [Mutex] waiting for: [user_regularicq8th0202@test-domain.com:message:received:content_jdxbiw0205]

2020-09-11 22:58:46 | [Mutex] timeout. Not received [user_regularicq8th0202@test-domain.com:message:received:content_jdxbiw0205]

2020-09-11 22:58:46 | [Mutex] isItemNotified: user_regularicq8th0202@test-domain.com:message:received:content_jdxbiw0205 :: false

2020-09-11 22:58:46 |


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


2020-09-11 22:58:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-11 22:58:46 | command: <data><node>node_3ngski0203</node><entry><content>content_tx3jau0206</content></entry></data>

2020-09-11 22:58:46 | target: http://localhost:8088

2020-09-11 22:58:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-11 22:58:46 | entity: <data><node>node_3ngski0203</node><entry><content>content_tx3jau0206</content></entry></data>

2020-09-11 22:58:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 05:58:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-11 22:58:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f1246f68-a36d-45bc-af84-75e207ab2e6f</value></item-id></result>

2020-09-11 22:58:46 | contains: true

2020-09-11 22:58:52 | [Mutex] waiting for: [user_regularicq8th0202@test-domain.com:message:received:content_tx3jau0206]

2020-09-11 22:58:52 | [Mutex] waiting for: [user_regularicq8th0202@test-domain.com:message:received:content_tx3jau0206]

2020-09-11 22:58:52 | [Mutex] received everything.

2020-09-11 22:58:52 | [Mutex] isItemNotified: user_regularicq8th0202@test-domain.com:message:received:content_tx3jau0206 :: true

2020-09-11 22:58:52 |


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


2020-09-11 22:58:52 | [Mutex] received everything.

2020-09-11 22:58:52 | [Mutex] isItemNotified: node_3ngski0203:subscribe_node:success :: true

2020-09-11 22:58:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-11 22:58:52 | command: <data><node>node_3ngski0203</node><expire-at>2020-09-12T05:58:57Z</expire-at><entry><content>content_pkud5j0207</content></entry></data>

2020-09-11 22:58:52 | target: http://localhost:8088

2020-09-11 22:58:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-11 22:58:52 | entity: <data><node>node_3ngski0203</node><expire-at>2020-09-12T05:58:57Z</expire-at><entry><content>content_pkud5j0207</content></entry></data>

2020-09-11 22:58:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 05:58:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-11 22:58:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f94eb62a-958b-4cda-a757-958696e6bf5a</value></item-id></result>

2020-09-11 22:58:52 | contains: true

2020-09-11 22:59:00 | [Mutex] waiting for: [user_regularicq8th0202@test-domain.com:message:received:content_pkud5j0207]

2020-09-11 22:59:00 | [Mutex] waiting for: [user_regularicq8th0202@test-domain.com:message:received:content_pkud5j0207]

2020-09-11 22:59:15 | [Mutex] timeout. Not received [user_regularicq8th0202@test-domain.com:message:received:content_pkud5j0207]

2020-09-11 22:59:15 | [Mutex] received everything.

2020-09-11 22:59:15 | [Mutex] isItemNotified: user_regularicq8th0202@test-domain.com:message:received:content_pkud5j0207 :: false

2020-09-11 22:59:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pkud5j0207 :: true