Generated by TestNG with ReportNG at 21:40 PST on Wednesday 18 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.522s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.817s
2020-11-18 21:55:48 |

2020-11-18 21:55:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-18 21:55:48 | ------------------------------------

2020-11-18 21:55:48 | [Mutex] isItemNotified: node_jhi5yq0203:exists :: false

2020-11-18 21:55:48 | [Mutex] waiting for: [node_jhi5yq0203:create_node]

2020-11-18 21:55:48 | [Mutex] received everything.

2020-11-18 21:55:48 | [Mutex] isItemNotified: node_jhi5yq0203:create_node:success :: true

2020-11-18 21:55:48 | [Mutex] waiting for: [node_jhi5yq0203:subscribe_node]

2020-11-18 21:55:48 | [Mutex] waiting for: [node_jhi5yq0203:subscribe_node]

2020-11-18 21:55:48 | [Mutex] received everything.

2020-11-18 21:55:48 | [Mutex] isItemNotified: node_jhi5yq0203:subscribe_node:success :: true

2020-11-18 21:55:48 |


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


2020-11-18 21:55:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-18 21:55:48 | command: <data><node>node_jhi5yq0203</node><entry><content>content_edeury0204</content></entry></data>

2020-11-18 21:55:48 | target: http://localhost:8088

2020-11-18 21:55:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-18 21:55:48 | entity: <data><node>node_jhi5yq0203</node><entry><content>content_edeury0204</content></entry></data>

2020-11-18 21:55:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:55:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-18 21:55:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>21f6aac7-fe0f-46b3-93a9-a99ff38fca36</value></item-id></result>

2020-11-18 21:55:48 | contains: true

2020-11-18 21:55:48 | [Mutex] received everything.

2020-11-18 21:55:48 | [Mutex] isItemNotified: user_regularpcba5v0202@test-domain.com:message:received:content_edeury0204 :: true

2020-11-18 21:55:48 |


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


2020-11-18 21:55:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-18 21:55:48 | command: <data><node>node_jhi5yq0203</node><expire-at>2020-11-19T05:55:43Z</expire-at><entry><content>content_wefvd50205</content></entry></data>

2020-11-18 21:55:48 | target: http://localhost:8088

2020-11-18 21:55:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-18 21:55:48 | entity: <data><node>node_jhi5yq0203</node><expire-at>2020-11-19T05:55:43Z</expire-at><entry><content>content_wefvd50205</content></entry></data>

2020-11-18 21:55:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:55:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-18 21:55:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dfffa484-00f5-4d7d-9813-eef1eedf2e29</value></item-id></result>

2020-11-18 21:55:48 | contains: true

2020-11-18 21:55:48 | [Mutex] waiting for: [user_regularpcba5v0202@test-domain.com:message:received:content_wefvd50205]

2020-11-18 21:56:03 | [Mutex] timeout. Not received [user_regularpcba5v0202@test-domain.com:message:received:content_wefvd50205]

2020-11-18 21:56:03 | [Mutex] isItemNotified: user_regularpcba5v0202@test-domain.com:message:received:content_wefvd50205 :: false

2020-11-18 21:56:03 |


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


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

2020-11-18 21:56:03 | command: <data><node>node_jhi5yq0203</node><entry><content>content_vy3jll0206</content></entry></data>

2020-11-18 21:56:03 | target: http://localhost:8088

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

2020-11-18 21:56:03 | entity: <data><node>node_jhi5yq0203</node><entry><content>content_vy3jll0206</content></entry></data>

2020-11-18 21:56:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:56:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-18 21:56:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8dae0f2d-cde6-442b-84eb-5e9d5608687e</value></item-id></result>

2020-11-18 21:56:03 | contains: true

2020-11-18 21:56:08 | [Mutex] waiting for: [user_regularpcba5v0202@test-domain.com:message:received:content_vy3jll0206]

2020-11-18 21:56:08 | [Mutex] received everything.

2020-11-18 21:56:08 | [Mutex] isItemNotified: user_regularpcba5v0202@test-domain.com:message:received:content_vy3jll0206 :: true

2020-11-18 21:56:08 |


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


2020-11-18 21:56:08 | [Mutex] received everything.

2020-11-18 21:56:08 | [Mutex] isItemNotified: node_jhi5yq0203:subscribe_node:success :: true

2020-11-18 21:56:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-18 21:56:08 | command: <data><node>node_jhi5yq0203</node><expire-at>2020-11-19T05:56:13Z</expire-at><entry><content>content_h5da6f0207</content></entry></data>

2020-11-18 21:56:08 | target: http://localhost:8088

2020-11-18 21:56:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-18 21:56:08 | entity: <data><node>node_jhi5yq0203</node><expire-at>2020-11-19T05:56:13Z</expire-at><entry><content>content_h5da6f0207</content></entry></data>

2020-11-18 21:56:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:56:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-18 21:56:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cdcb1d25-a99f-402c-9b6b-0cd37036f52c</value></item-id></result>

2020-11-18 21:56:08 | contains: true

2020-11-18 21:56:16 | [Mutex] waiting for: [user_regularpcba5v0202@test-domain.com:message:received:content_h5da6f0207]

2020-11-18 21:56:16 | [Mutex] waiting for: [user_regularpcba5v0202@test-domain.com:message:received:content_h5da6f0207]

2020-11-18 21:56:16 | [Mutex] waiting for: [user_regularpcba5v0202@test-domain.com:message:received:content_h5da6f0207]

2020-11-18 21:56:31 | [Mutex] timeout. Not received [user_regularpcba5v0202@test-domain.com:message:received:content_h5da6f0207]

2020-11-18 21:56:31 | [Mutex] received everything.

2020-11-18 21:56:31 | [Mutex] isItemNotified: user_regularpcba5v0202@test-domain.com:message:received:content_h5da6f0207 :: false

2020-11-18 21:56:31 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_h5da6f0207 :: true