Generated by TestNG with ReportNG at 21:13 PST on Monday 09 November 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.433s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.802s
2020-11-09 21:29:21 |

2020-11-09 21:29:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-09 21:29:21 | ------------------------------------

2020-11-09 21:29:21 | [Mutex] isItemNotified: node_c99beo0203:exists :: false

2020-11-09 21:29:21 | [Mutex] waiting for: [node_c99beo0203:create_node]

2020-11-09 21:29:21 | [Mutex] received everything.

2020-11-09 21:29:21 | [Mutex] isItemNotified: node_c99beo0203:create_node:success :: true

2020-11-09 21:29:21 | [Mutex] waiting for: [node_c99beo0203:subscribe_node]

2020-11-09 21:29:21 | [Mutex] waiting for: [node_c99beo0203:subscribe_node]

2020-11-09 21:29:21 | [Mutex] received everything.

2020-11-09 21:29:21 | [Mutex] isItemNotified: node_c99beo0203:subscribe_node:success :: true

2020-11-09 21:29:21 |


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


2020-11-09 21:29:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-09 21:29:21 | command: <data><node>node_c99beo0203</node><entry><content>content_mjp2ow0204</content></entry></data>

2020-11-09 21:29:21 | target: http://localhost:8088

2020-11-09 21:29:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-09 21:29:21 | entity: <data><node>node_c99beo0203</node><entry><content>content_mjp2ow0204</content></entry></data>

2020-11-09 21:29:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 Nov 2020 05:29:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-09 21:29:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1c161f84-f2c5-42e0-ad9c-446f86f869ca</value></item-id></result>

2020-11-09 21:29:21 | contains: true

2020-11-09 21:29:21 | [Mutex] received everything.

2020-11-09 21:29:21 | [Mutex] isItemNotified: user_regular2lxt330202@test-domain.com:message:received:content_mjp2ow0204 :: true

2020-11-09 21:29:21 |


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


2020-11-09 21:29:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-09 21:29:21 | command: <data><node>node_c99beo0203</node><expire-at>2020-11-10T05:29:16Z</expire-at><entry><content>content_y6fkf20205</content></entry></data>

2020-11-09 21:29:21 | target: http://localhost:8088

2020-11-09 21:29:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-09 21:29:21 | entity: <data><node>node_c99beo0203</node><expire-at>2020-11-10T05:29:16Z</expire-at><entry><content>content_y6fkf20205</content></entry></data>

2020-11-09 21:29:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 Nov 2020 05:29:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-09 21:29:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c95fa280-4823-400c-bda6-91dfaed9bd28</value></item-id></result>

2020-11-09 21:29:21 | contains: true

2020-11-09 21:29:21 | [Mutex] waiting for: [user_regular2lxt330202@test-domain.com:message:received:content_y6fkf20205]

2020-11-09 21:29:36 | [Mutex] timeout. Not received [user_regular2lxt330202@test-domain.com:message:received:content_y6fkf20205]

2020-11-09 21:29:36 | [Mutex] isItemNotified: user_regular2lxt330202@test-domain.com:message:received:content_y6fkf20205 :: false

2020-11-09 21:29:36 |


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


2020-11-09 21:29:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-09 21:29:36 | command: <data><node>node_c99beo0203</node><entry><content>content_th6mot0206</content></entry></data>

2020-11-09 21:29:36 | target: http://localhost:8088

2020-11-09 21:29:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-09 21:29:36 | entity: <data><node>node_c99beo0203</node><entry><content>content_th6mot0206</content></entry></data>

2020-11-09 21:29:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 Nov 2020 05:29:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-09 21:29:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3475f5d6-6f89-4c41-8634-413b29ec6974</value></item-id></result>

2020-11-09 21:29:36 | contains: true

2020-11-09 21:29:41 | [Mutex] waiting for: [user_regular2lxt330202@test-domain.com:message:received:content_th6mot0206]

2020-11-09 21:29:41 | [Mutex] waiting for: [user_regular2lxt330202@test-domain.com:message:received:content_th6mot0206]

2020-11-09 21:29:41 | [Mutex] received everything.

2020-11-09 21:29:41 | [Mutex] isItemNotified: user_regular2lxt330202@test-domain.com:message:received:content_th6mot0206 :: true

2020-11-09 21:29:41 |


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


2020-11-09 21:29:41 | [Mutex] received everything.

2020-11-09 21:29:41 | [Mutex] isItemNotified: node_c99beo0203:subscribe_node:success :: true

2020-11-09 21:29:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-09 21:29:41 | command: <data><node>node_c99beo0203</node><expire-at>2020-11-10T05:29:46Z</expire-at><entry><content>content_bnczds0207</content></entry></data>

2020-11-09 21:29:41 | target: http://localhost:8088

2020-11-09 21:29:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-09 21:29:41 | entity: <data><node>node_c99beo0203</node><expire-at>2020-11-10T05:29:46Z</expire-at><entry><content>content_bnczds0207</content></entry></data>

2020-11-09 21:29:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 Nov 2020 05:29:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-09 21:29:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>27082a6d-b889-4243-979a-e5b4ff9c2e9d</value></item-id></result>

2020-11-09 21:29:41 | contains: true

2020-11-09 21:29:50 | [Mutex] waiting for: [user_regular2lxt330202@test-domain.com:message:received:content_bnczds0207]

2020-11-09 21:29:50 | [Mutex] waiting for: [user_regular2lxt330202@test-domain.com:message:received:content_bnczds0207]

2020-11-09 21:29:50 | [Mutex] waiting for: [user_regular2lxt330202@test-domain.com:message:received:content_bnczds0207]

2020-11-09 21:30:05 | [Mutex] timeout. Not received [user_regular2lxt330202@test-domain.com:message:received:content_bnczds0207]

2020-11-09 21:30:05 | [Mutex] received everything.

2020-11-09 21:30:05 | [Mutex] isItemNotified: user_regular2lxt330202@test-domain.com:message:received:content_bnczds0207 :: false

2020-11-09 21:30:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bnczds0207 :: true