Generated by TestNG with ReportNG at 22:13 PDT on Sunday 04 October 2020
root@eaa73862192b / 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.103s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.728s
2020-10-04 22:30:30 |

2020-10-04 22:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-04 22:30:30 | ------------------------------------

2020-10-04 22:30:30 | [Mutex] isItemNotified: node_xck5ao0203:exists :: false

2020-10-04 22:30:30 | [Mutex] waiting for: [node_xck5ao0203:create_node]

2020-10-04 22:30:30 | [Mutex] received everything.

2020-10-04 22:30:30 | [Mutex] isItemNotified: node_xck5ao0203:create_node:success :: true

2020-10-04 22:30:30 | [Mutex] waiting for: [node_xck5ao0203:subscribe_node]

2020-10-04 22:30:30 | [Mutex] received everything.

2020-10-04 22:30:30 | [Mutex] isItemNotified: node_xck5ao0203:subscribe_node:success :: true

2020-10-04 22:30:30 |


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


2020-10-04 22:30:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-04 22:30:30 | command: <data><node>node_xck5ao0203</node><entry><content>content_7lod4e0204</content></entry></data>

2020-10-04 22:30:30 | target: http://localhost:8088

2020-10-04 22:30:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-04 22:30:30 | entity: <data><node>node_xck5ao0203</node><entry><content>content_7lod4e0204</content></entry></data>

2020-10-04 22:30:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 05:30:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-04 22:30:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0ff09ba6-bc94-4374-a85a-3d55bc819c0d</value></item-id></result>

2020-10-04 22:30:30 | contains: true

2020-10-04 22:30:30 | [Mutex] received everything.

2020-10-04 22:30:30 | [Mutex] isItemNotified: user_regularl0zxyr0202@test-domain.com:message:received:content_7lod4e0204 :: true

2020-10-04 22:30:30 |


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


2020-10-04 22:30:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-04 22:30:30 | command: <data><node>node_xck5ao0203</node><expire-at>2020-10-05T05:30:25Z</expire-at><entry><content>content_kppkfp0205</content></entry></data>

2020-10-04 22:30:30 | target: http://localhost:8088

2020-10-04 22:30:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-04 22:30:30 | entity: <data><node>node_xck5ao0203</node><expire-at>2020-10-05T05:30:25Z</expire-at><entry><content>content_kppkfp0205</content></entry></data>

2020-10-04 22:30:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 05:30:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-04 22:30:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b6c62641-6ade-4948-b139-78bac34fcce2</value></item-id></result>

2020-10-04 22:30:31 | contains: true

2020-10-04 22:30:31 | [Mutex] waiting for: [user_regularl0zxyr0202@test-domain.com:message:received:content_kppkfp0205]

2020-10-04 22:30:46 | [Mutex] timeout. Not received [user_regularl0zxyr0202@test-domain.com:message:received:content_kppkfp0205]

2020-10-04 22:30:46 | [Mutex] isItemNotified: user_regularl0zxyr0202@test-domain.com:message:received:content_kppkfp0205 :: false

2020-10-04 22:30:46 |


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


2020-10-04 22:30:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-04 22:30:46 | command: <data><node>node_xck5ao0203</node><entry><content>content_w3les00206</content></entry></data>

2020-10-04 22:30:46 | target: http://localhost:8088

2020-10-04 22:30:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-04 22:30:46 | entity: <data><node>node_xck5ao0203</node><entry><content>content_w3les00206</content></entry></data>

2020-10-04 22:30:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 05:30:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-04 22:30:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>14b974b3-61ec-4d1c-9123-abc1ce76a807</value></item-id></result>

2020-10-04 22:30:46 | contains: true

2020-10-04 22:30:51 | [Mutex] waiting for: [user_regularl0zxyr0202@test-domain.com:message:received:content_w3les00206]

2020-10-04 22:30:51 | [Mutex] waiting for: [user_regularl0zxyr0202@test-domain.com:message:received:content_w3les00206]

2020-10-04 22:30:51 | [Mutex] received everything.

2020-10-04 22:30:51 | [Mutex] isItemNotified: user_regularl0zxyr0202@test-domain.com:message:received:content_w3les00206 :: true

2020-10-04 22:30:51 |


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


2020-10-04 22:30:51 | [Mutex] received everything.

2020-10-04 22:30:51 | [Mutex] isItemNotified: node_xck5ao0203:subscribe_node:success :: true

2020-10-04 22:30:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-04 22:30:51 | command: <data><node>node_xck5ao0203</node><expire-at>2020-10-05T05:30:56Z</expire-at><entry><content>content_wx8e6z0207</content></entry></data>

2020-10-04 22:30:51 | target: http://localhost:8088

2020-10-04 22:30:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-04 22:30:51 | entity: <data><node>node_xck5ao0203</node><expire-at>2020-10-05T05:30:56Z</expire-at><entry><content>content_wx8e6z0207</content></entry></data>

2020-10-04 22:30:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 05:30:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-04 22:30:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>71d3d069-2b40-477b-8ce9-625e795ac3be</value></item-id></result>

2020-10-04 22:30:51 | contains: true

2020-10-04 22:30:59 | [Mutex] waiting for: [user_regularl0zxyr0202@test-domain.com:message:received:content_wx8e6z0207]

2020-10-04 22:31:14 | [Mutex] timeout. Not received [user_regularl0zxyr0202@test-domain.com:message:received:content_wx8e6z0207]

2020-10-04 22:31:14 | [Mutex] received everything.

2020-10-04 22:31:14 | [Mutex] isItemNotified: user_regularl0zxyr0202@test-domain.com:message:received:content_wx8e6z0207 :: false

2020-10-04 22:31:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wx8e6z0207 :: true