Generated by TestNG with ReportNG at 23:43 PDT on Tuesday 01 September 2020
root@556a2edbe156 / 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.224s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.765s
2020-09-01 23:58:25 |

2020-09-01 23:58:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-01 23:58:25 | ------------------------------------

2020-09-01 23:58:25 | [Mutex] isItemNotified: node_48sueo0203:exists :: false

2020-09-01 23:58:25 | [Mutex] waiting for: [node_48sueo0203:create_node]

2020-09-01 23:58:25 | [Mutex] received everything.

2020-09-01 23:58:25 | [Mutex] isItemNotified: node_48sueo0203:create_node:success :: true

2020-09-01 23:58:25 | [Mutex] waiting for: [node_48sueo0203:subscribe_node]

2020-09-01 23:58:25 | [Mutex] waiting for: [node_48sueo0203:subscribe_node]

2020-09-01 23:58:25 | [Mutex] received everything.

2020-09-01 23:58:25 | [Mutex] isItemNotified: node_48sueo0203:subscribe_node:success :: true

2020-09-01 23:58:25 |


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


2020-09-01 23:58:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-01 23:58:25 | command: <data><node>node_48sueo0203</node><entry><content>content_k77vvj0204</content></entry></data>

2020-09-01 23:58:25 | target: http://localhost:8088

2020-09-01 23:58:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-01 23:58:25 | entity: <data><node>node_48sueo0203</node><entry><content>content_k77vvj0204</content></entry></data>

2020-09-01 23:58:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 06:58:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-01 23:58:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9aedbc21-225d-417c-979e-fc55329a9968</value></item-id></result>

2020-09-01 23:58:25 | contains: true

2020-09-01 23:58:25 | [Mutex] received everything.

2020-09-01 23:58:25 | [Mutex] isItemNotified: user_regularcjm5c40202@test-domain.com:message:received:content_k77vvj0204 :: true

2020-09-01 23:58:25 |


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


2020-09-01 23:58:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-01 23:58:25 | command: <data><node>node_48sueo0203</node><expire-at>2020-09-02T06:58:20Z</expire-at><entry><content>content_kc154x0205</content></entry></data>

2020-09-01 23:58:25 | target: http://localhost:8088

2020-09-01 23:58:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-01 23:58:25 | entity: <data><node>node_48sueo0203</node><expire-at>2020-09-02T06:58:20Z</expire-at><entry><content>content_kc154x0205</content></entry></data>

2020-09-01 23:58:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 06:58:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-01 23:58:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c25898dc-f38e-4435-ab03-ee2396012306</value></item-id></result>

2020-09-01 23:58:25 | contains: true

2020-09-01 23:58:25 | [Mutex] waiting for: [user_regularcjm5c40202@test-domain.com:message:received:content_kc154x0205]

2020-09-01 23:58:40 | [Mutex] timeout. Not received [user_regularcjm5c40202@test-domain.com:message:received:content_kc154x0205]

2020-09-01 23:58:40 | [Mutex] isItemNotified: user_regularcjm5c40202@test-domain.com:message:received:content_kc154x0205 :: false

2020-09-01 23:58:40 |


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


2020-09-01 23:58:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-01 23:58:40 | command: <data><node>node_48sueo0203</node><entry><content>content_jcby1s0206</content></entry></data>

2020-09-01 23:58:40 | target: http://localhost:8088

2020-09-01 23:58:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-01 23:58:40 | entity: <data><node>node_48sueo0203</node><entry><content>content_jcby1s0206</content></entry></data>

2020-09-01 23:58:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 06:58:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-01 23:58:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d07e10e4-69ab-4849-a6f5-8b518bcf7a06</value></item-id></result>

2020-09-01 23:58:40 | contains: true

2020-09-01 23:58:45 | [Mutex] waiting for: [user_regularcjm5c40202@test-domain.com:message:received:content_jcby1s0206]

2020-09-01 23:58:45 | [Mutex] received everything.

2020-09-01 23:58:45 | [Mutex] isItemNotified: user_regularcjm5c40202@test-domain.com:message:received:content_jcby1s0206 :: true

2020-09-01 23:58:45 |


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


2020-09-01 23:58:45 | [Mutex] received everything.

2020-09-01 23:58:45 | [Mutex] isItemNotified: node_48sueo0203:subscribe_node:success :: true

2020-09-01 23:58:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-01 23:58:45 | command: <data><node>node_48sueo0203</node><expire-at>2020-09-02T06:58:50Z</expire-at><entry><content>content_lszj4t0207</content></entry></data>

2020-09-01 23:58:45 | target: http://localhost:8088

2020-09-01 23:58:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-01 23:58:45 | entity: <data><node>node_48sueo0203</node><expire-at>2020-09-02T06:58:50Z</expire-at><entry><content>content_lszj4t0207</content></entry></data>

2020-09-01 23:58:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 06:58:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-01 23:58:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>74c6b7ca-eced-4d38-86b4-6c070a3784a6</value></item-id></result>

2020-09-01 23:58:45 | contains: true

2020-09-01 23:58:54 | [Mutex] waiting for: [user_regularcjm5c40202@test-domain.com:message:received:content_lszj4t0207]

2020-09-01 23:59:09 | [Mutex] timeout. Not received [user_regularcjm5c40202@test-domain.com:message:received:content_lszj4t0207]

2020-09-01 23:59:09 | [Mutex] received everything.

2020-09-01 23:59:09 | [Mutex] isItemNotified: user_regularcjm5c40202@test-domain.com:message:received:content_lszj4t0207 :: false

2020-09-01 23:59:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lszj4t0207 :: true