Generated by TestNG with ReportNG at 22:22 PDT on Monday 05 October 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.508s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.768s
2020-10-05 22:39:52 |

2020-10-05 22:39:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-05 22:39:52 | ------------------------------------

2020-10-05 22:39:52 | [Mutex] isItemNotified: node_2ag11q0203:exists :: false

2020-10-05 22:39:52 | [Mutex] waiting for: [node_2ag11q0203:create_node]

2020-10-05 22:39:52 | [Mutex] received everything.

2020-10-05 22:39:52 | [Mutex] isItemNotified: node_2ag11q0203:create_node:success :: true

2020-10-05 22:39:52 | [Mutex] waiting for: [node_2ag11q0203:subscribe_node]

2020-10-05 22:39:52 | [Mutex] waiting for: [node_2ag11q0203:subscribe_node]

2020-10-05 22:39:52 | [Mutex] received everything.

2020-10-05 22:39:52 | [Mutex] isItemNotified: node_2ag11q0203:subscribe_node:success :: true

2020-10-05 22:39:52 |


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


2020-10-05 22:39:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-05 22:39:52 | command: <data><node>node_2ag11q0203</node><entry><content>content_yzretu0204</content></entry></data>

2020-10-05 22:39:52 | target: http://localhost:8088

2020-10-05 22:39:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-05 22:39:52 | entity: <data><node>node_2ag11q0203</node><entry><content>content_yzretu0204</content></entry></data>

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

2020-10-05 22:39:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0c832095-fc2c-44f1-a553-f0daf3843387</value></item-id></result>

2020-10-05 22:39:52 | contains: true

2020-10-05 22:39:52 | [Mutex] received everything.

2020-10-05 22:39:52 | [Mutex] isItemNotified: user_regularl2agpb0202@test-domain.com:message:received:content_yzretu0204 :: true

2020-10-05 22:39:52 |


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


2020-10-05 22:39:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-05 22:39:52 | command: <data><node>node_2ag11q0203</node><expire-at>2020-10-06T05:39:47Z</expire-at><entry><content>content_f7d6is0205</content></entry></data>

2020-10-05 22:39:52 | target: http://localhost:8088

2020-10-05 22:39:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-05 22:39:52 | entity: <data><node>node_2ag11q0203</node><expire-at>2020-10-06T05:39:47Z</expire-at><entry><content>content_f7d6is0205</content></entry></data>

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

2020-10-05 22:39:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>41b38ff9-e218-4dcc-b064-b016971c0e6c</value></item-id></result>

2020-10-05 22:39:52 | contains: true

2020-10-05 22:39:52 | [Mutex] waiting for: [user_regularl2agpb0202@test-domain.com:message:received:content_f7d6is0205]

2020-10-05 22:40:07 | [Mutex] timeout. Not received [user_regularl2agpb0202@test-domain.com:message:received:content_f7d6is0205]

2020-10-05 22:40:07 | [Mutex] isItemNotified: user_regularl2agpb0202@test-domain.com:message:received:content_f7d6is0205 :: false

2020-10-05 22:40:07 |


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


2020-10-05 22:40:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-05 22:40:07 | command: <data><node>node_2ag11q0203</node><entry><content>content_36e6520206</content></entry></data>

2020-10-05 22:40:07 | target: http://localhost:8088

2020-10-05 22:40:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-05 22:40:07 | entity: <data><node>node_2ag11q0203</node><entry><content>content_36e6520206</content></entry></data>

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

2020-10-05 22:40:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>37f60dd5-a11f-4fbd-9210-e58437cb5ef7</value></item-id></result>

2020-10-05 22:40:07 | contains: true

2020-10-05 22:40:12 | [Mutex] waiting for: [user_regularl2agpb0202@test-domain.com:message:received:content_36e6520206]

2020-10-05 22:40:12 | [Mutex] received everything.

2020-10-05 22:40:12 | [Mutex] isItemNotified: user_regularl2agpb0202@test-domain.com:message:received:content_36e6520206 :: true

2020-10-05 22:40:12 |


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


2020-10-05 22:40:12 | [Mutex] received everything.

2020-10-05 22:40:12 | [Mutex] isItemNotified: node_2ag11q0203:subscribe_node:success :: true

2020-10-05 22:40:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-05 22:40:12 | command: <data><node>node_2ag11q0203</node><expire-at>2020-10-06T05:40:17Z</expire-at><entry><content>content_pdq2wc0207</content></entry></data>

2020-10-05 22:40:12 | target: http://localhost:8088

2020-10-05 22:40:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-05 22:40:12 | entity: <data><node>node_2ag11q0203</node><expire-at>2020-10-06T05:40:17Z</expire-at><entry><content>content_pdq2wc0207</content></entry></data>

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

2020-10-05 22:40:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>20912d70-b20f-4eec-b652-810a7b3fa0d8</value></item-id></result>

2020-10-05 22:40:12 | contains: true

2020-10-05 22:40:21 | [Mutex] waiting for: [user_regularl2agpb0202@test-domain.com:message:received:content_pdq2wc0207]

2020-10-05 22:40:36 | [Mutex] timeout. Not received [user_regularl2agpb0202@test-domain.com:message:received:content_pdq2wc0207]

2020-10-05 22:40:36 | [Mutex] received everything.

2020-10-05 22:40:36 | [Mutex] isItemNotified: user_regularl2agpb0202@test-domain.com:message:received:content_pdq2wc0207 :: false

2020-10-05 22:40:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pdq2wc0207 :: true