Generated by TestNG with ReportNG at 22:42 PDT on Tuesday 27 October 2020
root@eaa73862192b / 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.595s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.714s
2020-10-27 22:58:29 |

2020-10-27 22:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-27 22:58:29 | ------------------------------------

2020-10-27 22:58:29 | [Mutex] isItemNotified: node_yi1rjy0203:exists :: false

2020-10-27 22:58:29 | [Mutex] waiting for: [node_yi1rjy0203:create_node]

2020-10-27 22:58:29 | [Mutex] received everything.

2020-10-27 22:58:29 | [Mutex] isItemNotified: node_yi1rjy0203:create_node:success :: true

2020-10-27 22:58:29 | [Mutex] waiting for: [node_yi1rjy0203:subscribe_node]

2020-10-27 22:58:29 | [Mutex] waiting for: [node_yi1rjy0203:subscribe_node]

2020-10-27 22:58:29 | [Mutex] received everything.

2020-10-27 22:58:29 | [Mutex] isItemNotified: node_yi1rjy0203:subscribe_node:success :: true

2020-10-27 22:58:29 |


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


2020-10-27 22:58:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-27 22:58:29 | command: <data><node>node_yi1rjy0203</node><entry><content>content_ecz1cf0204</content></entry></data>

2020-10-27 22:58:29 | target: http://localhost:8088

2020-10-27 22:58:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-27 22:58:29 | entity: <data><node>node_yi1rjy0203</node><entry><content>content_ecz1cf0204</content></entry></data>

2020-10-27 22:58:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 05:58:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-27 22:58:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fc671eeb-5a08-461d-82b1-8bd737ca44d3</value></item-id></result>

2020-10-27 22:58:29 | contains: true

2020-10-27 22:58:29 | [Mutex] waiting for: [user_regularjstgkv0202@test-domain.com:message:received:content_ecz1cf0204]

2020-10-27 22:58:29 | [Mutex] received everything.

2020-10-27 22:58:29 | [Mutex] isItemNotified: user_regularjstgkv0202@test-domain.com:message:received:content_ecz1cf0204 :: true

2020-10-27 22:58:29 |


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


2020-10-27 22:58:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-27 22:58:29 | command: <data><node>node_yi1rjy0203</node><expire-at>2020-10-28T05:58:24Z</expire-at><entry><content>content_3h2tq00205</content></entry></data>

2020-10-27 22:58:29 | target: http://localhost:8088

2020-10-27 22:58:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-27 22:58:29 | entity: <data><node>node_yi1rjy0203</node><expire-at>2020-10-28T05:58:24Z</expire-at><entry><content>content_3h2tq00205</content></entry></data>

2020-10-27 22:58:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 05:58:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-27 22:58:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2ee5c813-4b4f-4578-9a69-370b0843cec9</value></item-id></result>

2020-10-27 22:58:29 | contains: true

2020-10-27 22:58:29 | [Mutex] waiting for: [user_regularjstgkv0202@test-domain.com:message:received:content_3h2tq00205]

2020-10-27 22:58:44 | [Mutex] timeout. Not received [user_regularjstgkv0202@test-domain.com:message:received:content_3h2tq00205]

2020-10-27 22:58:44 | [Mutex] isItemNotified: user_regularjstgkv0202@test-domain.com:message:received:content_3h2tq00205 :: false

2020-10-27 22:58:44 |


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


2020-10-27 22:58:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-27 22:58:44 | command: <data><node>node_yi1rjy0203</node><entry><content>content_ewogjs0206</content></entry></data>

2020-10-27 22:58:44 | target: http://localhost:8088

2020-10-27 22:58:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-27 22:58:44 | entity: <data><node>node_yi1rjy0203</node><entry><content>content_ewogjs0206</content></entry></data>

2020-10-27 22:58:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 05:58:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-27 22:58:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>041565c8-ecd7-482b-bcff-bfaf970e0411</value></item-id></result>

2020-10-27 22:58:44 | contains: true

2020-10-27 22:58:50 | [Mutex] waiting for: [user_regularjstgkv0202@test-domain.com:message:received:content_ewogjs0206]

2020-10-27 22:58:50 | [Mutex] received everything.

2020-10-27 22:58:50 | [Mutex] isItemNotified: user_regularjstgkv0202@test-domain.com:message:received:content_ewogjs0206 :: true

2020-10-27 22:58:50 |


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


2020-10-27 22:58:50 | [Mutex] received everything.

2020-10-27 22:58:50 | [Mutex] isItemNotified: node_yi1rjy0203:subscribe_node:success :: true

2020-10-27 22:58:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-27 22:58:50 | command: <data><node>node_yi1rjy0203</node><expire-at>2020-10-28T05:58:55Z</expire-at><entry><content>content_dhbsed0207</content></entry></data>

2020-10-27 22:58:50 | target: http://localhost:8088

2020-10-27 22:58:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-27 22:58:50 | entity: <data><node>node_yi1rjy0203</node><expire-at>2020-10-28T05:58:55Z</expire-at><entry><content>content_dhbsed0207</content></entry></data>

2020-10-27 22:58:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 05:58:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-27 22:58:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8c7456cb-6e67-4001-9d34-0702ae51dd8c</value></item-id></result>

2020-10-27 22:58:50 | contains: true

2020-10-27 22:58:58 | [Mutex] waiting for: [user_regularjstgkv0202@test-domain.com:message:received:content_dhbsed0207]

2020-10-27 22:58:58 | [Mutex] waiting for: [user_regularjstgkv0202@test-domain.com:message:received:content_dhbsed0207]

2020-10-27 22:59:13 | [Mutex] timeout. Not received [user_regularjstgkv0202@test-domain.com:message:received:content_dhbsed0207]

2020-10-27 22:59:13 | [Mutex] received everything.

2020-10-27 22:59:13 | [Mutex] isItemNotified: user_regularjstgkv0202@test-domain.com:message:received:content_dhbsed0207 :: false

2020-10-27 22:59:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_dhbsed0207 :: true