Generated by TestNG with ReportNG at 22:31 PDT on Saturday 26 September 2020
root@acb1a7e1250f / 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.609s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.718s
2020-09-26 22:47:28 |

2020-09-26 22:47:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-26 22:47:28 | ------------------------------------

2020-09-26 22:47:28 | [Mutex] isItemNotified: node_hkaxao0201:exists :: false

2020-09-26 22:47:28 | [Mutex] waiting for: [node_hkaxao0201:create_node]

2020-09-26 22:47:28 | [Mutex] received everything.

2020-09-26 22:47:28 | [Mutex] isItemNotified: node_hkaxao0201:create_node:success :: true

2020-09-26 22:47:28 | [Mutex] waiting for: [node_hkaxao0201:subscribe_node]

2020-09-26 22:47:28 | [Mutex] waiting for: [node_hkaxao0201:subscribe_node]

2020-09-26 22:47:28 | [Mutex] received everything.

2020-09-26 22:47:28 | [Mutex] isItemNotified: node_hkaxao0201:subscribe_node:success :: true

2020-09-26 22:47:28 |


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


2020-09-26 22:47:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-26 22:47:28 | command: <data><node>node_hkaxao0201</node><entry><content>content_67olce0202</content></entry></data>

2020-09-26 22:47:28 | target: http://localhost:8088

2020-09-26 22:47:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-26 22:47:28 | entity: <data><node>node_hkaxao0201</node><entry><content>content_67olce0202</content></entry></data>

2020-09-26 22:47:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 05:47:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-26 22:47:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>40df3e50-6ea0-411f-b1f3-2231cbd5e592</value></item-id></result>

2020-09-26 22:47:28 | contains: true

2020-09-26 22:47:28 | [Mutex] received everything.

2020-09-26 22:47:28 | [Mutex] isItemNotified: user_regular3ub5qz0200@test-domain.com:message:received:content_67olce0202 :: true

2020-09-26 22:47:28 |


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


2020-09-26 22:47:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-26 22:47:28 | command: <data><node>node_hkaxao0201</node><expire-at>2020-09-27T05:47:23Z</expire-at><entry><content>content_k8urrh0203</content></entry></data>

2020-09-26 22:47:28 | target: http://localhost:8088

2020-09-26 22:47:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-26 22:47:28 | entity: <data><node>node_hkaxao0201</node><expire-at>2020-09-27T05:47:23Z</expire-at><entry><content>content_k8urrh0203</content></entry></data>

2020-09-26 22:47:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 05:47:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-26 22:47:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ae368293-6190-4ccf-8747-e0881f712098</value></item-id></result>

2020-09-26 22:47:28 | contains: true

2020-09-26 22:47:28 | [Mutex] waiting for: [user_regular3ub5qz0200@test-domain.com:message:received:content_k8urrh0203]

2020-09-26 22:47:43 | [Mutex] timeout. Not received [user_regular3ub5qz0200@test-domain.com:message:received:content_k8urrh0203]

2020-09-26 22:47:43 | [Mutex] isItemNotified: user_regular3ub5qz0200@test-domain.com:message:received:content_k8urrh0203 :: false

2020-09-26 22:47:43 |


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


2020-09-26 22:47:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-26 22:47:43 | command: <data><node>node_hkaxao0201</node><entry><content>content_c556lr0204</content></entry></data>

2020-09-26 22:47:43 | target: http://localhost:8088

2020-09-26 22:47:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-26 22:47:43 | entity: <data><node>node_hkaxao0201</node><entry><content>content_c556lr0204</content></entry></data>

2020-09-26 22:47:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 05:47:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-26 22:47:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>590c9472-6d50-4e75-b77c-0fc56b16736e</value></item-id></result>

2020-09-26 22:47:43 | contains: true

2020-09-26 22:47:48 | [Mutex] waiting for: [user_regular3ub5qz0200@test-domain.com:message:received:content_c556lr0204]

2020-09-26 22:47:48 | [Mutex] waiting for: [user_regular3ub5qz0200@test-domain.com:message:received:content_c556lr0204]

2020-09-26 22:47:48 | [Mutex] received everything.

2020-09-26 22:47:48 | [Mutex] isItemNotified: user_regular3ub5qz0200@test-domain.com:message:received:content_c556lr0204 :: true

2020-09-26 22:47:48 |


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


2020-09-26 22:47:48 | [Mutex] received everything.

2020-09-26 22:47:48 | [Mutex] isItemNotified: node_hkaxao0201:subscribe_node:success :: true

2020-09-26 22:47:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-26 22:47:48 | command: <data><node>node_hkaxao0201</node><expire-at>2020-09-27T05:47:53Z</expire-at><entry><content>content_ch54920205</content></entry></data>

2020-09-26 22:47:48 | target: http://localhost:8088

2020-09-26 22:47:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-26 22:47:48 | entity: <data><node>node_hkaxao0201</node><expire-at>2020-09-27T05:47:53Z</expire-at><entry><content>content_ch54920205</content></entry></data>

2020-09-26 22:47:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 05:47:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-26 22:47:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>da2d06cf-9252-471b-86bd-b4c3b40c9860</value></item-id></result>

2020-09-26 22:47:48 | contains: true

2020-09-26 22:47:56 | [Mutex] waiting for: [user_regular3ub5qz0200@test-domain.com:message:received:content_ch54920205]

2020-09-26 22:48:11 | [Mutex] timeout. Not received [user_regular3ub5qz0200@test-domain.com:message:received:content_ch54920205]

2020-09-26 22:48:11 | [Mutex] received everything.

2020-09-26 22:48:11 | [Mutex] isItemNotified: user_regular3ub5qz0200@test-domain.com:message:received:content_ch54920205 :: false

2020-09-26 22:48:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ch54920205 :: true