Generated by TestNG with ReportNG at 22:54 PDT on Monday 19 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.592s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.775s
2020-10-19 23:11:58 |

2020-10-19 23:11:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-19 23:11:58 | ------------------------------------

2020-10-19 23:11:58 | [Mutex] isItemNotified: node_rfra6u0203:exists :: false

2020-10-19 23:11:58 | [Mutex] waiting for: [node_rfra6u0203:create_node]

2020-10-19 23:11:58 | [Mutex] received everything.

2020-10-19 23:11:58 | [Mutex] isItemNotified: node_rfra6u0203:create_node:success :: true

2020-10-19 23:11:58 | [Mutex] waiting for: [node_rfra6u0203:subscribe_node]

2020-10-19 23:11:58 | [Mutex] waiting for: [node_rfra6u0203:subscribe_node]

2020-10-19 23:11:58 | [Mutex] received everything.

2020-10-19 23:11:58 | [Mutex] isItemNotified: node_rfra6u0203:subscribe_node:success :: true

2020-10-19 23:11:58 |


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


2020-10-19 23:11:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-19 23:11:58 | command: <data><node>node_rfra6u0203</node><entry><content>content_m1820z0204</content></entry></data>

2020-10-19 23:11:58 | target: http://localhost:8088

2020-10-19 23:11:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-19 23:11:58 | entity: <data><node>node_rfra6u0203</node><entry><content>content_m1820z0204</content></entry></data>

2020-10-19 23:11:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 20 Oct 2020 06:11:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-19 23:11:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6a2e1023-6ec1-46a3-b1ff-e248aed2b966</value></item-id></result>

2020-10-19 23:11:58 | contains: true

2020-10-19 23:11:58 | [Mutex] received everything.

2020-10-19 23:11:58 | [Mutex] isItemNotified: user_regular2d3ukc0202@test-domain.com:message:received:content_m1820z0204 :: true

2020-10-19 23:11:58 |


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


2020-10-19 23:11:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-19 23:11:58 | command: <data><node>node_rfra6u0203</node><expire-at>2020-10-20T06:11:53Z</expire-at><entry><content>content_y48ypq0205</content></entry></data>

2020-10-19 23:11:58 | target: http://localhost:8088

2020-10-19 23:11:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-19 23:11:58 | entity: <data><node>node_rfra6u0203</node><expire-at>2020-10-20T06:11:53Z</expire-at><entry><content>content_y48ypq0205</content></entry></data>

2020-10-19 23:11:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 20 Oct 2020 06:11:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-19 23:11:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ab716d15-1ec9-4059-9c3a-5a83ff7ae95c</value></item-id></result>

2020-10-19 23:11:58 | contains: true

2020-10-19 23:11:58 | [Mutex] waiting for: [user_regular2d3ukc0202@test-domain.com:message:received:content_y48ypq0205]

2020-10-19 23:12:13 | [Mutex] timeout. Not received [user_regular2d3ukc0202@test-domain.com:message:received:content_y48ypq0205]

2020-10-19 23:12:13 | [Mutex] isItemNotified: user_regular2d3ukc0202@test-domain.com:message:received:content_y48ypq0205 :: false

2020-10-19 23:12:13 |


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


2020-10-19 23:12:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-19 23:12:13 | command: <data><node>node_rfra6u0203</node><entry><content>content_buvlop0206</content></entry></data>

2020-10-19 23:12:13 | target: http://localhost:8088

2020-10-19 23:12:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-19 23:12:13 | entity: <data><node>node_rfra6u0203</node><entry><content>content_buvlop0206</content></entry></data>

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

2020-10-19 23:12:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>52ad3d48-1013-4728-97d3-66f0a7efe543</value></item-id></result>

2020-10-19 23:12:13 | contains: true

2020-10-19 23:12:19 | [Mutex] waiting for: [user_regular2d3ukc0202@test-domain.com:message:received:content_buvlop0206]

2020-10-19 23:12:19 | [Mutex] received everything.

2020-10-19 23:12:19 | [Mutex] isItemNotified: user_regular2d3ukc0202@test-domain.com:message:received:content_buvlop0206 :: true

2020-10-19 23:12:19 |


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


2020-10-19 23:12:19 | [Mutex] received everything.

2020-10-19 23:12:19 | [Mutex] isItemNotified: node_rfra6u0203:subscribe_node:success :: true

2020-10-19 23:12:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-19 23:12:19 | command: <data><node>node_rfra6u0203</node><expire-at>2020-10-20T06:12:24Z</expire-at><entry><content>content_ja02l0207</content></entry></data>

2020-10-19 23:12:19 | target: http://localhost:8088

2020-10-19 23:12:19 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2020-10-19 23:12:19 | entity: <data><node>node_rfra6u0203</node><expire-at>2020-10-20T06:12:24Z</expire-at><entry><content>content_ja02l0207</content></entry></data>

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

2020-10-19 23:12:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9a23249e-d9df-42b2-b087-ed1a5ff4130c</value></item-id></result>

2020-10-19 23:12:19 | contains: true

2020-10-19 23:12:27 | [Mutex] waiting for: [user_regular2d3ukc0202@test-domain.com:message:received:content_ja02l0207]

2020-10-19 23:12:42 | [Mutex] timeout. Not received [user_regular2d3ukc0202@test-domain.com:message:received:content_ja02l0207]

2020-10-19 23:12:42 | [Mutex] received everything.

2020-10-19 23:12:42 | [Mutex] isItemNotified: user_regular2d3ukc0202@test-domain.com:message:received:content_ja02l0207 :: false

2020-10-19 23:12:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ja02l0207 :: true