Generated by TestNG with ReportNG at 23:49 PDT on Wednesday 23 September 2020
root@d2a27fcc5bc3 / 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.386s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.740s
2020-09-24 00:06:22 |

2020-09-24 00:06:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-24 00:06:22 | ------------------------------------

2020-09-24 00:06:22 | [Mutex] isItemNotified: node_b7geb10203:exists :: false

2020-09-24 00:06:22 | [Mutex] waiting for: [node_b7geb10203:create_node]

2020-09-24 00:06:22 | [Mutex] received everything.

2020-09-24 00:06:22 | [Mutex] isItemNotified: node_b7geb10203:create_node:success :: true

2020-09-24 00:06:22 | [Mutex] waiting for: [node_b7geb10203:subscribe_node]

2020-09-24 00:06:22 | [Mutex] received everything.

2020-09-24 00:06:22 | [Mutex] isItemNotified: node_b7geb10203:subscribe_node:success :: true

2020-09-24 00:06:22 |


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


2020-09-24 00:06:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-24 00:06:22 | command: <data><node>node_b7geb10203</node><entry><content>content_dv2qlx0204</content></entry></data>

2020-09-24 00:06:22 | target: http://localhost:8088

2020-09-24 00:06:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-24 00:06:22 | entity: <data><node>node_b7geb10203</node><entry><content>content_dv2qlx0204</content></entry></data>

2020-09-24 00:06:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 07:06:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-24 00:06:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9af570e2-0f0d-45ae-bb40-99c8a4b75332</value></item-id></result>

2020-09-24 00:06:22 | contains: true

2020-09-24 00:06:22 | [Mutex] received everything.

2020-09-24 00:06:22 | [Mutex] isItemNotified: user_regulari6vrj70202@test-domain.com:message:received:content_dv2qlx0204 :: true

2020-09-24 00:06:22 |


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


2020-09-24 00:06:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-24 00:06:22 | command: <data><node>node_b7geb10203</node><expire-at>2020-09-24T07:06:17Z</expire-at><entry><content>content_gm1htd0205</content></entry></data>

2020-09-24 00:06:22 | target: http://localhost:8088

2020-09-24 00:06:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-24 00:06:22 | entity: <data><node>node_b7geb10203</node><expire-at>2020-09-24T07:06:17Z</expire-at><entry><content>content_gm1htd0205</content></entry></data>

2020-09-24 00:06:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 07:06:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-24 00:06:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>77e2dde3-d9c6-462a-9ce1-8d4ab2e85b58</value></item-id></result>

2020-09-24 00:06:23 | contains: true

2020-09-24 00:06:23 | [Mutex] waiting for: [user_regulari6vrj70202@test-domain.com:message:received:content_gm1htd0205]

2020-09-24 00:06:38 | [Mutex] timeout. Not received [user_regulari6vrj70202@test-domain.com:message:received:content_gm1htd0205]

2020-09-24 00:06:38 | [Mutex] isItemNotified: user_regulari6vrj70202@test-domain.com:message:received:content_gm1htd0205 :: false

2020-09-24 00:06:38 |


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


2020-09-24 00:06:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-24 00:06:38 | command: <data><node>node_b7geb10203</node><entry><content>content_puq8lw0206</content></entry></data>

2020-09-24 00:06:38 | target: http://localhost:8088

2020-09-24 00:06:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-24 00:06:38 | entity: <data><node>node_b7geb10203</node><entry><content>content_puq8lw0206</content></entry></data>

2020-09-24 00:06:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 07:06:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-24 00:06:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>56ac5cf0-35f1-44a7-b12c-f8e56149738f</value></item-id></result>

2020-09-24 00:06:38 | contains: true

2020-09-24 00:06:43 | [Mutex] waiting for: [user_regulari6vrj70202@test-domain.com:message:received:content_puq8lw0206]

2020-09-24 00:06:43 | [Mutex] waiting for: [user_regulari6vrj70202@test-domain.com:message:received:content_puq8lw0206]

2020-09-24 00:06:43 | [Mutex] received everything.

2020-09-24 00:06:43 | [Mutex] isItemNotified: user_regulari6vrj70202@test-domain.com:message:received:content_puq8lw0206 :: true

2020-09-24 00:06:43 |


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


2020-09-24 00:06:43 | [Mutex] received everything.

2020-09-24 00:06:43 | [Mutex] isItemNotified: node_b7geb10203:subscribe_node:success :: true

2020-09-24 00:06:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-24 00:06:43 | command: <data><node>node_b7geb10203</node><expire-at>2020-09-24T07:06:48Z</expire-at><entry><content>content_gq4wmh0207</content></entry></data>

2020-09-24 00:06:43 | target: http://localhost:8088

2020-09-24 00:06:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-24 00:06:43 | entity: <data><node>node_b7geb10203</node><expire-at>2020-09-24T07:06:48Z</expire-at><entry><content>content_gq4wmh0207</content></entry></data>

2020-09-24 00:06:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 07:06:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-24 00:06:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>62197321-7c71-445c-a4a5-a419983e8450</value></item-id></result>

2020-09-24 00:06:43 | contains: true

2020-09-24 00:06:51 | [Mutex] waiting for: [user_regulari6vrj70202@test-domain.com:message:received:content_gq4wmh0207]

2020-09-24 00:07:06 | [Mutex] timeout. Not received [user_regulari6vrj70202@test-domain.com:message:received:content_gq4wmh0207]

2020-09-24 00:07:06 | [Mutex] received everything.

2020-09-24 00:07:06 | [Mutex] isItemNotified: user_regulari6vrj70202@test-domain.com:message:received:content_gq4wmh0207 :: false

2020-09-24 00:07:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gq4wmh0207 :: true