Generated by TestNG with ReportNG at 22:42 PDT on Monday 21 September 2020
root@d2a27fcc5bc3 / 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.161s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.763s
2020-09-21 22:59:37 |

2020-09-21 22:59:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-21 22:59:37 | ------------------------------------

2020-09-21 22:59:37 | [Mutex] isItemNotified: node_1i64ff0203:exists :: false

2020-09-21 22:59:37 | [Mutex] waiting for: [node_1i64ff0203:create_node]

2020-09-21 22:59:37 | [Mutex] received everything.

2020-09-21 22:59:37 | [Mutex] isItemNotified: node_1i64ff0203:create_node:success :: true

2020-09-21 22:59:37 | [Mutex] waiting for: [node_1i64ff0203:subscribe_node]

2020-09-21 22:59:37 | [Mutex] waiting for: [node_1i64ff0203:subscribe_node]

2020-09-21 22:59:37 | [Mutex] received everything.

2020-09-21 22:59:37 | [Mutex] isItemNotified: node_1i64ff0203:subscribe_node:success :: true

2020-09-21 22:59:37 |


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


2020-09-21 22:59:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-21 22:59:37 | command: <data><node>node_1i64ff0203</node><entry><content>content_di6vsy0204</content></entry></data>

2020-09-21 22:59:37 | target: http://localhost:8088

2020-09-21 22:59:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-21 22:59:37 | entity: <data><node>node_1i64ff0203</node><entry><content>content_di6vsy0204</content></entry></data>

2020-09-21 22:59:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 05:59:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-21 22:59:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6b9aa0d1-970d-4a85-be0c-6fddf900da01</value></item-id></result>

2020-09-21 22:59:37 | contains: true

2020-09-21 22:59:37 | [Mutex] received everything.

2020-09-21 22:59:37 | [Mutex] isItemNotified: user_regularwo3hxr0202@test-domain.com:message:received:content_di6vsy0204 :: true

2020-09-21 22:59:37 |


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


2020-09-21 22:59:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-21 22:59:37 | command: <data><node>node_1i64ff0203</node><expire-at>2020-09-22T05:59:32Z</expire-at><entry><content>content_g0clh40205</content></entry></data>

2020-09-21 22:59:37 | target: http://localhost:8088

2020-09-21 22:59:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-21 22:59:37 | entity: <data><node>node_1i64ff0203</node><expire-at>2020-09-22T05:59:32Z</expire-at><entry><content>content_g0clh40205</content></entry></data>

2020-09-21 22:59:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 05:59:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-21 22:59:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>55009c20-e34f-458d-b6f9-9b9ad0bddede</value></item-id></result>

2020-09-21 22:59:37 | contains: true

2020-09-21 22:59:37 | [Mutex] waiting for: [user_regularwo3hxr0202@test-domain.com:message:received:content_g0clh40205]

2020-09-21 22:59:52 | [Mutex] timeout. Not received [user_regularwo3hxr0202@test-domain.com:message:received:content_g0clh40205]

2020-09-21 22:59:52 | [Mutex] isItemNotified: user_regularwo3hxr0202@test-domain.com:message:received:content_g0clh40205 :: false

2020-09-21 22:59:52 |


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


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

2020-09-21 22:59:52 | command: <data><node>node_1i64ff0203</node><entry><content>content_u0zk1s0206</content></entry></data>

2020-09-21 22:59:52 | target: http://localhost:8088

2020-09-21 22:59:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-21 22:59:52 | entity: <data><node>node_1i64ff0203</node><entry><content>content_u0zk1s0206</content></entry></data>

2020-09-21 22:59:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 05:59:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-21 22:59:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>582de2dc-d2ad-46f5-8067-991c3db99775</value></item-id></result>

2020-09-21 22:59:53 | contains: true

2020-09-21 22:59:58 | [Mutex] waiting for: [user_regularwo3hxr0202@test-domain.com:message:received:content_u0zk1s0206]

2020-09-21 22:59:58 | [Mutex] received everything.

2020-09-21 22:59:58 | [Mutex] isItemNotified: user_regularwo3hxr0202@test-domain.com:message:received:content_u0zk1s0206 :: true

2020-09-21 22:59:58 |


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


2020-09-21 22:59:58 | [Mutex] received everything.

2020-09-21 22:59:58 | [Mutex] isItemNotified: node_1i64ff0203:subscribe_node:success :: true

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

2020-09-21 22:59:58 | command: <data><node>node_1i64ff0203</node><expire-at>2020-09-22T06:00:03Z</expire-at><entry><content>content_im7tbd0207</content></entry></data>

2020-09-21 22:59:58 | target: http://localhost:8088

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

2020-09-21 22:59:58 | entity: <data><node>node_1i64ff0203</node><expire-at>2020-09-22T06:00:03Z</expire-at><entry><content>content_im7tbd0207</content></entry></data>

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

2020-09-21 22:59:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>80e9bafa-d653-4c14-94e9-cf23e944b054</value></item-id></result>

2020-09-21 22:59:58 | contains: true

2020-09-21 23:00:06 | [Mutex] waiting for: [user_regularwo3hxr0202@test-domain.com:message:received:content_im7tbd0207]

2020-09-21 23:00:21 | [Mutex] timeout. Not received [user_regularwo3hxr0202@test-domain.com:message:received:content_im7tbd0207]

2020-09-21 23:00:21 | [Mutex] received everything.

2020-09-21 23:00:21 | [Mutex] isItemNotified: user_regularwo3hxr0202@test-domain.com:message:received:content_im7tbd0207 :: false

2020-09-21 23:00:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_im7tbd0207 :: true