Generated by TestNG with ReportNG at 22:29 PDT on Wednesday 21 April 2021
root@f29ef40080b5 / 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.087s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.704s
2021-04-21 22:45:16 |

2021-04-21 22:45:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-21 22:45:16 | ------------------------------------

2021-04-21 22:45:16 | [Mutex] isItemNotified: node_o3qrvi0203:exists :: false

2021-04-21 22:45:16 | [Mutex] waiting for: [node_o3qrvi0203:create_node]

2021-04-21 22:45:16 | [Mutex] received everything.

2021-04-21 22:45:16 | [Mutex] isItemNotified: node_o3qrvi0203:create_node:success :: true

2021-04-21 22:45:16 | [Mutex] waiting for: [node_o3qrvi0203:subscribe_node]

2021-04-21 22:45:16 | [Mutex] received everything.

2021-04-21 22:45:16 | [Mutex] isItemNotified: node_o3qrvi0203:subscribe_node:success :: true

2021-04-21 22:45:16 |


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


2021-04-21 22:45:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-21 22:45:16 | command: <data><node>node_o3qrvi0203</node><entry><content>content_8zhwuw0204</content></entry></data>

2021-04-21 22:45:16 | target: http://localhost:8088

2021-04-21 22:45:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-21 22:45:16 | entity: <data><node>node_o3qrvi0203</node><entry><content>content_8zhwuw0204</content></entry></data>

2021-04-21 22:45:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:45:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-21 22:45:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f51ae3c5-889e-4dea-935f-ebbfaaaa3b62</value></item-id></result>

2021-04-21 22:45:16 | contains: true

2021-04-21 22:45:16 | [Mutex] waiting for: [user_regulare6d6ju0202@test-domain.com:message:received:content_8zhwuw0204]

2021-04-21 22:45:16 | [Mutex] received everything.

2021-04-21 22:45:16 | [Mutex] isItemNotified: user_regulare6d6ju0202@test-domain.com:message:received:content_8zhwuw0204 :: true

2021-04-21 22:45:16 |


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


2021-04-21 22:45:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-21 22:45:16 | command: <data><node>node_o3qrvi0203</node><expire-at>2021-04-22T05:45:11Z</expire-at><entry><content>content_oc3s4v0205</content></entry></data>

2021-04-21 22:45:16 | target: http://localhost:8088

2021-04-21 22:45:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-21 22:45:16 | entity: <data><node>node_o3qrvi0203</node><expire-at>2021-04-22T05:45:11Z</expire-at><entry><content>content_oc3s4v0205</content></entry></data>

2021-04-21 22:45:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:45:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-21 22:45:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1d4cb1b4-3536-4055-bea5-949549b330a4</value></item-id></result>

2021-04-21 22:45:16 | contains: true

2021-04-21 22:45:16 | [Mutex] waiting for: [user_regulare6d6ju0202@test-domain.com:message:received:content_oc3s4v0205]

2021-04-21 22:45:31 | [Mutex] timeout. Not received [user_regulare6d6ju0202@test-domain.com:message:received:content_oc3s4v0205]

2021-04-21 22:45:31 | [Mutex] isItemNotified: user_regulare6d6ju0202@test-domain.com:message:received:content_oc3s4v0205 :: false

2021-04-21 22:45:31 |


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


2021-04-21 22:45:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-21 22:45:31 | command: <data><node>node_o3qrvi0203</node><entry><content>content_sux2c00206</content></entry></data>

2021-04-21 22:45:31 | target: http://localhost:8088

2021-04-21 22:45:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-21 22:45:31 | entity: <data><node>node_o3qrvi0203</node><entry><content>content_sux2c00206</content></entry></data>

2021-04-21 22:45:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:45:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-21 22:45:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>30e1ed0e-09b5-4b86-b474-dc6a4d8ea788</value></item-id></result>

2021-04-21 22:45:32 | contains: true

2021-04-21 22:45:37 | [Mutex] waiting for: [user_regulare6d6ju0202@test-domain.com:message:received:content_sux2c00206]

2021-04-21 22:45:37 | [Mutex] waiting for: [user_regulare6d6ju0202@test-domain.com:message:received:content_sux2c00206]

2021-04-21 22:45:37 | [Mutex] received everything.

2021-04-21 22:45:37 | [Mutex] isItemNotified: user_regulare6d6ju0202@test-domain.com:message:received:content_sux2c00206 :: true

2021-04-21 22:45:37 |


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


2021-04-21 22:45:37 | [Mutex] received everything.

2021-04-21 22:45:37 | [Mutex] isItemNotified: node_o3qrvi0203:subscribe_node:success :: true

2021-04-21 22:45:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-21 22:45:37 | command: <data><node>node_o3qrvi0203</node><expire-at>2021-04-22T05:45:42Z</expire-at><entry><content>content_kle1cs0207</content></entry></data>

2021-04-21 22:45:37 | target: http://localhost:8088

2021-04-21 22:45:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-21 22:45:37 | entity: <data><node>node_o3qrvi0203</node><expire-at>2021-04-22T05:45:42Z</expire-at><entry><content>content_kle1cs0207</content></entry></data>

2021-04-21 22:45:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:45:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-21 22:45:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b7fe4268-1451-49a9-a5b1-11f334c2a4bb</value></item-id></result>

2021-04-21 22:45:37 | contains: true

2021-04-21 22:45:45 | [Mutex] waiting for: [user_regulare6d6ju0202@test-domain.com:message:received:content_kle1cs0207]

2021-04-21 22:45:45 | [Mutex] waiting for: [user_regulare6d6ju0202@test-domain.com:message:received:content_kle1cs0207]

2021-04-21 22:46:00 | [Mutex] timeout. Not received [user_regulare6d6ju0202@test-domain.com:message:received:content_kle1cs0207]

2021-04-21 22:46:00 | [Mutex] received everything.

2021-04-21 22:46:00 | [Mutex] isItemNotified: user_regulare6d6ju0202@test-domain.com:message:received:content_kle1cs0207 :: false

2021-04-21 22:46:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kle1cs0207 :: true