Generated by TestNG with ReportNG at 22:14 PDT on Friday 04 June 2021
root@785cf647a4ab / 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.645s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.783s
2021-06-04 22:28:45 |

2021-06-04 22:28:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-06-04 22:28:45 | ------------------------------------

2021-06-04 22:28:45 | [Mutex] isItemNotified: node_xojypd0203:exists :: false

2021-06-04 22:28:45 | [Mutex] waiting for: [node_xojypd0203:create_node]

2021-06-04 22:28:45 | [Mutex] received everything.

2021-06-04 22:28:45 | [Mutex] isItemNotified: node_xojypd0203:create_node:success :: true

2021-06-04 22:28:45 | [Mutex] waiting for: [node_xojypd0203:subscribe_node]

2021-06-04 22:28:45 | [Mutex] waiting for: [node_xojypd0203:subscribe_node]

2021-06-04 22:28:45 | [Mutex] received everything.

2021-06-04 22:28:45 | [Mutex] isItemNotified: node_xojypd0203:subscribe_node:success :: true

2021-06-04 22:28:45 |


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


2021-06-04 22:28:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-04 22:28:45 | command: <data><node>node_xojypd0203</node><entry><content>content_4vg5n10204</content></entry></data>

2021-06-04 22:28:45 | target: http://localhost:8088

2021-06-04 22:28:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-04 22:28:45 | entity: <data><node>node_xojypd0203</node><entry><content>content_4vg5n10204</content></entry></data>

2021-06-04 22:28:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:28:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-04 22:28:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>52eda7fb-4cc8-448c-b872-d6b736621ee4</value></item-id></result>

2021-06-04 22:28:45 | contains: true

2021-06-04 22:28:45 | [Mutex] received everything.

2021-06-04 22:28:45 | [Mutex] isItemNotified: user_regular1w85z60202@test-domain.com:message:received:content_4vg5n10204 :: true

2021-06-04 22:28:45 |


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


2021-06-04 22:28:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-04 22:28:45 | command: <data><node>node_xojypd0203</node><expire-at>2021-06-05T05:28:40Z</expire-at><entry><content>content_qru76i0205</content></entry></data>

2021-06-04 22:28:45 | target: http://localhost:8088

2021-06-04 22:28:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-04 22:28:45 | entity: <data><node>node_xojypd0203</node><expire-at>2021-06-05T05:28:40Z</expire-at><entry><content>content_qru76i0205</content></entry></data>

2021-06-04 22:28:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:28:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-04 22:28:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>99c14ede-8c5a-460a-9ef6-04b20a482a1a</value></item-id></result>

2021-06-04 22:28:45 | contains: true

2021-06-04 22:28:45 | [Mutex] waiting for: [user_regular1w85z60202@test-domain.com:message:received:content_qru76i0205]

2021-06-04 22:29:00 | [Mutex] timeout. Not received [user_regular1w85z60202@test-domain.com:message:received:content_qru76i0205]

2021-06-04 22:29:00 | [Mutex] isItemNotified: user_regular1w85z60202@test-domain.com:message:received:content_qru76i0205 :: false

2021-06-04 22:29:00 |


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


2021-06-04 22:29:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-04 22:29:01 | command: <data><node>node_xojypd0203</node><entry><content>content_5sydmv0206</content></entry></data>

2021-06-04 22:29:01 | target: http://localhost:8088

2021-06-04 22:29:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-04 22:29:01 | entity: <data><node>node_xojypd0203</node><entry><content>content_5sydmv0206</content></entry></data>

2021-06-04 22:29:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:29:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-04 22:29:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bf098eb8-6693-425d-bdd2-e7b0dc298a55</value></item-id></result>

2021-06-04 22:29:01 | contains: true

2021-06-04 22:29:06 | [Mutex] waiting for: [user_regular1w85z60202@test-domain.com:message:received:content_5sydmv0206]

2021-06-04 22:29:06 | [Mutex] received everything.

2021-06-04 22:29:06 | [Mutex] isItemNotified: user_regular1w85z60202@test-domain.com:message:received:content_5sydmv0206 :: true

2021-06-04 22:29:06 |


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


2021-06-04 22:29:06 | [Mutex] received everything.

2021-06-04 22:29:06 | [Mutex] isItemNotified: node_xojypd0203:subscribe_node:success :: true

2021-06-04 22:29:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-04 22:29:06 | command: <data><node>node_xojypd0203</node><expire-at>2021-06-05T05:29:11Z</expire-at><entry><content>content_rbfeuc0207</content></entry></data>

2021-06-04 22:29:06 | target: http://localhost:8088

2021-06-04 22:29:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-04 22:29:06 | entity: <data><node>node_xojypd0203</node><expire-at>2021-06-05T05:29:11Z</expire-at><entry><content>content_rbfeuc0207</content></entry></data>

2021-06-04 22:29:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:29:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-04 22:29:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3f99808c-e720-45cf-98dd-b8fa2f301793</value></item-id></result>

2021-06-04 22:29:06 | contains: true

2021-06-04 22:29:14 | [Mutex] waiting for: [user_regular1w85z60202@test-domain.com:message:received:content_rbfeuc0207]

2021-06-04 22:29:29 | [Mutex] timeout. Not received [user_regular1w85z60202@test-domain.com:message:received:content_rbfeuc0207]

2021-06-04 22:29:29 | [Mutex] received everything.

2021-06-04 22:29:29 | [Mutex] isItemNotified: user_regular1w85z60202@test-domain.com:message:received:content_rbfeuc0207 :: false

2021-06-04 22:29:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rbfeuc0207 :: true