Generated by TestNG with ReportNG at 22:17 PDT on Sunday 14 March 2021
root@43fec6d4badf / 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.631s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.667s
2021-03-14 22:33:29 |

2021-03-14 22:33:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-14 22:33:29 | ------------------------------------

2021-03-14 22:33:29 | [Mutex] isItemNotified: node_8zkor0203:exists :: false

2021-03-14 22:33:29 | [Mutex] waiting for: [node_8zkor0203:create_node]

2021-03-14 22:33:29 | [Mutex] received everything.

2021-03-14 22:33:29 | [Mutex] isItemNotified: node_8zkor0203:create_node:success :: true

2021-03-14 22:33:29 | [Mutex] waiting for: [node_8zkor0203:subscribe_node]

2021-03-14 22:33:29 | [Mutex] waiting for: [node_8zkor0203:subscribe_node]

2021-03-14 22:33:29 | [Mutex] received everything.

2021-03-14 22:33:29 | [Mutex] isItemNotified: node_8zkor0203:subscribe_node:success :: true

2021-03-14 22:33:29 |


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


2021-03-14 22:33:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 22:33:29 | command: <data><node>node_8zkor0203</node><entry><content>content_8hn9l40204</content></entry></data>

2021-03-14 22:33:29 | target: http://localhost:8088

2021-03-14 22:33:29 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-03-14 22:33:29 | entity: <data><node>node_8zkor0203</node><entry><content>content_8hn9l40204</content></entry></data>

2021-03-14 22:33:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 05:33:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 22:33:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>98b362f7-4e90-4b09-b0cb-e8ee78ea5c2b</value></item-id></result>

2021-03-14 22:33:29 | contains: true

2021-03-14 22:33:29 | [Mutex] received everything.

2021-03-14 22:33:29 | [Mutex] isItemNotified: user_regularv5hvp60202@test-domain.com:message:received:content_8hn9l40204 :: true

2021-03-14 22:33:29 |


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


2021-03-14 22:33:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 22:33:29 | command: <data><node>node_8zkor0203</node><expire-at>2021-03-15T05:33:24Z</expire-at><entry><content>content_e5om4i0205</content></entry></data>

2021-03-14 22:33:29 | target: http://localhost:8088

2021-03-14 22:33:29 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-03-14 22:33:29 | entity: <data><node>node_8zkor0203</node><expire-at>2021-03-15T05:33:24Z</expire-at><entry><content>content_e5om4i0205</content></entry></data>

2021-03-14 22:33:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 05:33:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 22:33:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>72930393-ed59-4bce-847a-6c303b78ca14</value></item-id></result>

2021-03-14 22:33:29 | contains: true

2021-03-14 22:33:29 | [Mutex] waiting for: [user_regularv5hvp60202@test-domain.com:message:received:content_e5om4i0205]

2021-03-14 22:33:44 | [Mutex] timeout. Not received [user_regularv5hvp60202@test-domain.com:message:received:content_e5om4i0205]

2021-03-14 22:33:44 | [Mutex] isItemNotified: user_regularv5hvp60202@test-domain.com:message:received:content_e5om4i0205 :: false

2021-03-14 22:33:44 |


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


2021-03-14 22:33:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 22:33:44 | command: <data><node>node_8zkor0203</node><entry><content>content_yvwb7w0206</content></entry></data>

2021-03-14 22:33:44 | target: http://localhost:8088

2021-03-14 22:33:44 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-03-14 22:33:44 | entity: <data><node>node_8zkor0203</node><entry><content>content_yvwb7w0206</content></entry></data>

2021-03-14 22:33:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 05:33:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 22:33:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9d6c2a53-59bd-4464-b075-e7e9a6db4a17</value></item-id></result>

2021-03-14 22:33:44 | contains: true

2021-03-14 22:33:49 | [Mutex] waiting for: [user_regularv5hvp60202@test-domain.com:message:received:content_yvwb7w0206]

2021-03-14 22:33:49 | [Mutex] waiting for: [user_regularv5hvp60202@test-domain.com:message:received:content_yvwb7w0206]

2021-03-14 22:33:49 | [Mutex] received everything.

2021-03-14 22:33:49 | [Mutex] isItemNotified: user_regularv5hvp60202@test-domain.com:message:received:content_yvwb7w0206 :: true

2021-03-14 22:33:49 |


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


2021-03-14 22:33:49 | [Mutex] received everything.

2021-03-14 22:33:49 | [Mutex] isItemNotified: node_8zkor0203:subscribe_node:success :: true

2021-03-14 22:33:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 22:33:49 | command: <data><node>node_8zkor0203</node><expire-at>2021-03-15T05:33:54Z</expire-at><entry><content>content_60bod50207</content></entry></data>

2021-03-14 22:33:49 | target: http://localhost:8088

2021-03-14 22:33:49 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-03-14 22:33:49 | entity: <data><node>node_8zkor0203</node><expire-at>2021-03-15T05:33:54Z</expire-at><entry><content>content_60bod50207</content></entry></data>

2021-03-14 22:33:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 05:33:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 22:33:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>303c9890-7d0f-4699-b91b-d7dbbdef16bc</value></item-id></result>

2021-03-14 22:33:49 | contains: true

2021-03-14 22:33:58 | [Mutex] waiting for: [user_regularv5hvp60202@test-domain.com:message:received:content_60bod50207]

2021-03-14 22:33:58 | [Mutex] waiting for: [user_regularv5hvp60202@test-domain.com:message:received:content_60bod50207]

2021-03-14 22:33:58 | [Mutex] waiting for: [user_regularv5hvp60202@test-domain.com:message:received:content_60bod50207]

2021-03-14 22:34:13 | [Mutex] timeout. Not received [user_regularv5hvp60202@test-domain.com:message:received:content_60bod50207]

2021-03-14 22:34:13 | [Mutex] received everything.

2021-03-14 22:34:13 | [Mutex] isItemNotified: user_regularv5hvp60202@test-domain.com:message:received:content_60bod50207 :: false

2021-03-14 22:34:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_60bod50207 :: true