Generated by TestNG with ReportNG at 22:27 PDT on Tuesday 12 October 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.678s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.749s
2021-10-12 22:42:57 |

2021-10-12 22:42:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-10-12 22:42:57 | ------------------------------------

2021-10-12 22:42:57 | [Mutex] isItemNotified: node_ukhktd0203:exists :: false

2021-10-12 22:42:57 | [Mutex] waiting for: [node_ukhktd0203:create_node]

2021-10-12 22:42:57 | [Mutex] received everything.

2021-10-12 22:42:57 | [Mutex] isItemNotified: node_ukhktd0203:create_node:success :: true

2021-10-12 22:42:57 | [Mutex] waiting for: [node_ukhktd0203:subscribe_node]

2021-10-12 22:42:57 | [Mutex] received everything.

2021-10-12 22:42:57 | [Mutex] isItemNotified: node_ukhktd0203:subscribe_node:success :: true

2021-10-12 22:42:57 |


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


2021-10-12 22:42:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-12 22:42:57 | command: <data><node>node_ukhktd0203</node><entry><content>content_myp6gv0204</content></entry></data>

2021-10-12 22:42:57 | target: http://localhost:8088

2021-10-12 22:42:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-12 22:42:57 | entity: <data><node>node_ukhktd0203</node><entry><content>content_myp6gv0204</content></entry></data>

2021-10-12 22:42:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 05:42:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-12 22:42:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4e40d4aa-2238-4e27-910a-d29da8982063</value></item-id></result>

2021-10-12 22:42:57 | contains: true

2021-10-12 22:42:57 | [Mutex] waiting for: [user_regularqt9wku0202@test-domain.com:message:received:content_myp6gv0204]

2021-10-12 22:42:57 | [Mutex] received everything.

2021-10-12 22:42:57 | [Mutex] isItemNotified: user_regularqt9wku0202@test-domain.com:message:received:content_myp6gv0204 :: true

2021-10-12 22:42:57 |


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


2021-10-12 22:42:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-12 22:42:57 | command: <data><node>node_ukhktd0203</node><expire-at>2021-10-13T05:42:52Z</expire-at><entry><content>content_jxugjx0205</content></entry></data>

2021-10-12 22:42:57 | target: http://localhost:8088

2021-10-12 22:42:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-12 22:42:57 | entity: <data><node>node_ukhktd0203</node><expire-at>2021-10-13T05:42:52Z</expire-at><entry><content>content_jxugjx0205</content></entry></data>

2021-10-12 22:42:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 05:42:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-12 22:42:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>052bc646-5415-44ab-ad26-0a712163004e</value></item-id></result>

2021-10-12 22:42:57 | contains: true

2021-10-12 22:42:57 | [Mutex] waiting for: [user_regularqt9wku0202@test-domain.com:message:received:content_jxugjx0205]

2021-10-12 22:43:12 | [Mutex] timeout. Not received [user_regularqt9wku0202@test-domain.com:message:received:content_jxugjx0205]

2021-10-12 22:43:12 | [Mutex] isItemNotified: user_regularqt9wku0202@test-domain.com:message:received:content_jxugjx0205 :: false

2021-10-12 22:43:12 |


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


2021-10-12 22:43:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-12 22:43:12 | command: <data><node>node_ukhktd0203</node><entry><content>content_karqmt0206</content></entry></data>

2021-10-12 22:43:12 | target: http://localhost:8088

2021-10-12 22:43:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-12 22:43:12 | entity: <data><node>node_ukhktd0203</node><entry><content>content_karqmt0206</content></entry></data>

2021-10-12 22:43:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 05:43:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-12 22:43:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>57074005-b0c2-499b-a3b2-e6735fd767cc</value></item-id></result>

2021-10-12 22:43:12 | contains: true

2021-10-12 22:43:17 | [Mutex] waiting for: [user_regularqt9wku0202@test-domain.com:message:received:content_karqmt0206]

2021-10-12 22:43:17 | [Mutex] waiting for: [user_regularqt9wku0202@test-domain.com:message:received:content_karqmt0206]

2021-10-12 22:43:17 | [Mutex] received everything.

2021-10-12 22:43:17 | [Mutex] isItemNotified: user_regularqt9wku0202@test-domain.com:message:received:content_karqmt0206 :: true

2021-10-12 22:43:17 |


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


2021-10-12 22:43:17 | [Mutex] received everything.

2021-10-12 22:43:17 | [Mutex] isItemNotified: node_ukhktd0203:subscribe_node:success :: true

2021-10-12 22:43:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-12 22:43:17 | command: <data><node>node_ukhktd0203</node><expire-at>2021-10-13T05:43:22Z</expire-at><entry><content>content_k4o8z20207</content></entry></data>

2021-10-12 22:43:17 | target: http://localhost:8088

2021-10-12 22:43:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-12 22:43:17 | entity: <data><node>node_ukhktd0203</node><expire-at>2021-10-13T05:43:22Z</expire-at><entry><content>content_k4o8z20207</content></entry></data>

2021-10-12 22:43:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 05:43:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-12 22:43:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>990c34bb-2a1d-45ec-9750-fc5d7c14ccc7</value></item-id></result>

2021-10-12 22:43:18 | contains: true

2021-10-12 22:43:26 | [Mutex] waiting for: [user_regularqt9wku0202@test-domain.com:message:received:content_k4o8z20207]

2021-10-12 22:43:26 | [Mutex] waiting for: [user_regularqt9wku0202@test-domain.com:message:received:content_k4o8z20207]

2021-10-12 22:43:41 | [Mutex] timeout. Not received [user_regularqt9wku0202@test-domain.com:message:received:content_k4o8z20207]

2021-10-12 22:43:41 | [Mutex] received everything.

2021-10-12 22:43:41 | [Mutex] isItemNotified: user_regularqt9wku0202@test-domain.com:message:received:content_k4o8z20207 :: false

2021-10-12 22:43:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_k4o8z20207 :: true