Generated by TestNG with ReportNG at 21:13 PST on Tuesday 03 November 2020
root@87f6aca6b6f2 / 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.654s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.737s
2020-11-03 21:27:29 |

2020-11-03 21:27:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-03 21:27:29 | ------------------------------------

2020-11-03 21:27:29 | [Mutex] isItemNotified: node_h4qimx0203:exists :: false

2020-11-03 21:27:29 | [Mutex] waiting for: [node_h4qimx0203:create_node]

2020-11-03 21:27:29 | [Mutex] received everything.

2020-11-03 21:27:29 | [Mutex] isItemNotified: node_h4qimx0203:create_node:success :: true

2020-11-03 21:27:29 | [Mutex] waiting for: [node_h4qimx0203:subscribe_node]

2020-11-03 21:27:29 | [Mutex] waiting for: [node_h4qimx0203:subscribe_node]

2020-11-03 21:27:29 | [Mutex] received everything.

2020-11-03 21:27:29 | [Mutex] isItemNotified: node_h4qimx0203:subscribe_node:success :: true

2020-11-03 21:27:29 |


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


2020-11-03 21:27:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-03 21:27:29 | command: <data><node>node_h4qimx0203</node><entry><content>content_85klrv0204</content></entry></data>

2020-11-03 21:27:29 | target: http://localhost:8088

2020-11-03 21:27:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-03 21:27:29 | entity: <data><node>node_h4qimx0203</node><entry><content>content_85klrv0204</content></entry></data>

2020-11-03 21:27:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:27:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-03 21:27:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6d778c7d-c7c4-4672-8cdf-ca19c43b3a47</value></item-id></result>

2020-11-03 21:27:29 | contains: true

2020-11-03 21:27:29 | [Mutex] received everything.

2020-11-03 21:27:29 | [Mutex] isItemNotified: user_regularuq52qq0202@test-domain.com:message:received:content_85klrv0204 :: true

2020-11-03 21:27:29 |


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


2020-11-03 21:27:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-03 21:27:29 | command: <data><node>node_h4qimx0203</node><expire-at>2020-11-04T05:27:24Z</expire-at><entry><content>content_2fgy7j0205</content></entry></data>

2020-11-03 21:27:29 | target: http://localhost:8088

2020-11-03 21:27:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-03 21:27:29 | entity: <data><node>node_h4qimx0203</node><expire-at>2020-11-04T05:27:24Z</expire-at><entry><content>content_2fgy7j0205</content></entry></data>

2020-11-03 21:27:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:27:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-03 21:27:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3c7cefd0-c7b5-4311-ba6c-f240b4f0620a</value></item-id></result>

2020-11-03 21:27:29 | contains: true

2020-11-03 21:27:29 | [Mutex] waiting for: [user_regularuq52qq0202@test-domain.com:message:received:content_2fgy7j0205]

2020-11-03 21:27:44 | [Mutex] timeout. Not received [user_regularuq52qq0202@test-domain.com:message:received:content_2fgy7j0205]

2020-11-03 21:27:44 | [Mutex] isItemNotified: user_regularuq52qq0202@test-domain.com:message:received:content_2fgy7j0205 :: false

2020-11-03 21:27:44 |


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


2020-11-03 21:27:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-03 21:27:44 | command: <data><node>node_h4qimx0203</node><entry><content>content_9hidt30206</content></entry></data>

2020-11-03 21:27:44 | target: http://localhost:8088

2020-11-03 21:27:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-03 21:27:44 | entity: <data><node>node_h4qimx0203</node><entry><content>content_9hidt30206</content></entry></data>

2020-11-03 21:27:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:27:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-03 21:27:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c0236ebf-d991-484b-b3d5-a49cf35b5bd1</value></item-id></result>

2020-11-03 21:27:44 | contains: true

2020-11-03 21:27:49 | [Mutex] waiting for: [user_regularuq52qq0202@test-domain.com:message:received:content_9hidt30206]

2020-11-03 21:27:49 | [Mutex] received everything.

2020-11-03 21:27:49 | [Mutex] isItemNotified: user_regularuq52qq0202@test-domain.com:message:received:content_9hidt30206 :: true

2020-11-03 21:27:49 |


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


2020-11-03 21:27:49 | [Mutex] received everything.

2020-11-03 21:27:49 | [Mutex] isItemNotified: node_h4qimx0203:subscribe_node:success :: true

2020-11-03 21:27:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-03 21:27:49 | command: <data><node>node_h4qimx0203</node><expire-at>2020-11-04T05:27:54Z</expire-at><entry><content>content_85n9zc0207</content></entry></data>

2020-11-03 21:27:49 | target: http://localhost:8088

2020-11-03 21:27:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-03 21:27:49 | entity: <data><node>node_h4qimx0203</node><expire-at>2020-11-04T05:27:54Z</expire-at><entry><content>content_85n9zc0207</content></entry></data>

2020-11-03 21:27:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:27:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-03 21:27:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>39854ac7-ef6d-4f9f-ad6a-fdf47c5b0324</value></item-id></result>

2020-11-03 21:27:49 | contains: true

2020-11-03 21:27:57 | [Mutex] waiting for: [user_regularuq52qq0202@test-domain.com:message:received:content_85n9zc0207]

2020-11-03 21:28:12 | [Mutex] timeout. Not received [user_regularuq52qq0202@test-domain.com:message:received:content_85n9zc0207]

2020-11-03 21:28:12 | [Mutex] received everything.

2020-11-03 21:28:12 | [Mutex] isItemNotified: user_regularuq52qq0202@test-domain.com:message:received:content_85n9zc0207 :: false

2020-11-03 21:28:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_85n9zc0207 :: true