Generated by TestNG with ReportNG at 07:14 PDT on Wednesday 09 September 2020
root@1c7098e4120c / 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.637s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.752s
2020-09-09 07:30:58 |

2020-09-09 07:30:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-09 07:30:58 | ------------------------------------

2020-09-09 07:30:58 | [Mutex] isItemNotified: node_z5ofeb0203:exists :: false

2020-09-09 07:30:58 | [Mutex] waiting for: [node_z5ofeb0203:create_node]

2020-09-09 07:30:58 | [Mutex] received everything.

2020-09-09 07:30:58 | [Mutex] isItemNotified: node_z5ofeb0203:create_node:success :: true

2020-09-09 07:30:58 | [Mutex] waiting for: [node_z5ofeb0203:subscribe_node]

2020-09-09 07:30:58 | [Mutex] waiting for: [node_z5ofeb0203:subscribe_node]

2020-09-09 07:30:58 | [Mutex] received everything.

2020-09-09 07:30:58 | [Mutex] isItemNotified: node_z5ofeb0203:subscribe_node:success :: true

2020-09-09 07:30:58 |


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


2020-09-09 07:30:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-09 07:30:58 | command: <data><node>node_z5ofeb0203</node><entry><content>content_ct7pm70204</content></entry></data>

2020-09-09 07:30:58 | target: http://localhost:8088

2020-09-09 07:30:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-09 07:30:58 | entity: <data><node>node_z5ofeb0203</node><entry><content>content_ct7pm70204</content></entry></data>

2020-09-09 07:30:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 14:30:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-09 07:30:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>414dd3a8-66e9-49b3-8879-26dca27f2b25</value></item-id></result>

2020-09-09 07:30:58 | contains: true

2020-09-09 07:30:58 | [Mutex] waiting for: [user_regulard2ho040202@test-domain.com:message:received:content_ct7pm70204]

2020-09-09 07:30:58 | [Mutex] received everything.

2020-09-09 07:30:58 | [Mutex] isItemNotified: user_regulard2ho040202@test-domain.com:message:received:content_ct7pm70204 :: true

2020-09-09 07:30:58 |


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


2020-09-09 07:30:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-09 07:30:58 | command: <data><node>node_z5ofeb0203</node><expire-at>2020-09-09T14:30:53Z</expire-at><entry><content>content_5vtomz0205</content></entry></data>

2020-09-09 07:30:58 | target: http://localhost:8088

2020-09-09 07:30:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-09 07:30:58 | entity: <data><node>node_z5ofeb0203</node><expire-at>2020-09-09T14:30:53Z</expire-at><entry><content>content_5vtomz0205</content></entry></data>

2020-09-09 07:30:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 14:30:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-09 07:30:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7753fe3d-45cf-4f90-9b04-b98fa788844a</value></item-id></result>

2020-09-09 07:30:58 | contains: true

2020-09-09 07:30:58 | [Mutex] waiting for: [user_regulard2ho040202@test-domain.com:message:received:content_5vtomz0205]

2020-09-09 07:31:13 | [Mutex] timeout. Not received [user_regulard2ho040202@test-domain.com:message:received:content_5vtomz0205]

2020-09-09 07:31:13 | [Mutex] isItemNotified: user_regulard2ho040202@test-domain.com:message:received:content_5vtomz0205 :: false

2020-09-09 07:31:13 |


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


2020-09-09 07:31:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-09 07:31:13 | command: <data><node>node_z5ofeb0203</node><entry><content>content_ppkepz0206</content></entry></data>

2020-09-09 07:31:13 | target: http://localhost:8088

2020-09-09 07:31:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-09 07:31:13 | entity: <data><node>node_z5ofeb0203</node><entry><content>content_ppkepz0206</content></entry></data>

2020-09-09 07:31:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 14:31:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-09 07:31:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1da14a71-ed9a-43ae-b317-29f1f3a856bd</value></item-id></result>

2020-09-09 07:31:13 | contains: true

2020-09-09 07:31:18 | [Mutex] waiting for: [user_regulard2ho040202@test-domain.com:message:received:content_ppkepz0206]

2020-09-09 07:31:18 | [Mutex] received everything.

2020-09-09 07:31:18 | [Mutex] isItemNotified: user_regulard2ho040202@test-domain.com:message:received:content_ppkepz0206 :: true

2020-09-09 07:31:18 |


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


2020-09-09 07:31:18 | [Mutex] received everything.

2020-09-09 07:31:18 | [Mutex] isItemNotified: node_z5ofeb0203:subscribe_node:success :: true

2020-09-09 07:31:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-09 07:31:18 | command: <data><node>node_z5ofeb0203</node><expire-at>2020-09-09T14:31:23Z</expire-at><entry><content>content_dpzf8r0207</content></entry></data>

2020-09-09 07:31:18 | target: http://localhost:8088

2020-09-09 07:31:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-09 07:31:18 | entity: <data><node>node_z5ofeb0203</node><expire-at>2020-09-09T14:31:23Z</expire-at><entry><content>content_dpzf8r0207</content></entry></data>

2020-09-09 07:31:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 14:31:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-09 07:31:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>52476ce4-0f2a-4839-b5f4-82f3d7f0e882</value></item-id></result>

2020-09-09 07:31:18 | contains: true

2020-09-09 07:31:27 | [Mutex] waiting for: [user_regulard2ho040202@test-domain.com:message:received:content_dpzf8r0207]

2020-09-09 07:31:27 | [Mutex] waiting for: [user_regulard2ho040202@test-domain.com:message:received:content_dpzf8r0207]

2020-09-09 07:31:42 | [Mutex] timeout. Not received [user_regulard2ho040202@test-domain.com:message:received:content_dpzf8r0207]

2020-09-09 07:31:42 | [Mutex] received everything.

2020-09-09 07:31:42 | [Mutex] isItemNotified: user_regulard2ho040202@test-domain.com:message:received:content_dpzf8r0207 :: false

2020-09-09 07:31:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_dpzf8r0207 :: true