Generated by TestNG with ReportNG at 10:50 PDT on Friday 18 September 2020
root@f53a97fae7d2 / 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.628s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.744s
2020-09-18 11:05:25 |

2020-09-18 11:05:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-18 11:05:25 | ------------------------------------

2020-09-18 11:05:25 | [Mutex] isItemNotified: node_i1ve5h0203:exists :: false

2020-09-18 11:05:25 | [Mutex] waiting for: [node_i1ve5h0203:create_node]

2020-09-18 11:05:25 | [Mutex] waiting for: [node_i1ve5h0203:create_node]

2020-09-18 11:05:25 | [Mutex] received everything.

2020-09-18 11:05:25 | [Mutex] isItemNotified: node_i1ve5h0203:create_node:success :: true

2020-09-18 11:05:25 | [Mutex] waiting for: [node_i1ve5h0203:subscribe_node]

2020-09-18 11:05:25 | [Mutex] received everything.

2020-09-18 11:05:25 | [Mutex] isItemNotified: node_i1ve5h0203:subscribe_node:success :: true

2020-09-18 11:05:25 |


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


2020-09-18 11:05:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 11:05:25 | command: <data><node>node_i1ve5h0203</node><entry><content>content_s5rj720204</content></entry></data>

2020-09-18 11:05:25 | target: http://localhost:8088

2020-09-18 11:05:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-18 11:05:25 | entity: <data><node>node_i1ve5h0203</node><entry><content>content_s5rj720204</content></entry></data>

2020-09-18 11:05:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 18:05:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 11:05:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1df9084b-b724-46d9-b66d-2235c2bde342</value></item-id></result>

2020-09-18 11:05:25 | contains: true

2020-09-18 11:05:25 | [Mutex] waiting for: [user_regular1149jm0202@test-domain.com:message:received:content_s5rj720204]

2020-09-18 11:05:25 | [Mutex] received everything.

2020-09-18 11:05:25 | [Mutex] isItemNotified: user_regular1149jm0202@test-domain.com:message:received:content_s5rj720204 :: true

2020-09-18 11:05:25 |


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


2020-09-18 11:05:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 11:05:25 | command: <data><node>node_i1ve5h0203</node><expire-at>2020-09-18T18:05:20Z</expire-at><entry><content>content_epgxah0205</content></entry></data>

2020-09-18 11:05:25 | target: http://localhost:8088

2020-09-18 11:05:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-18 11:05:25 | entity: <data><node>node_i1ve5h0203</node><expire-at>2020-09-18T18:05:20Z</expire-at><entry><content>content_epgxah0205</content></entry></data>

2020-09-18 11:05:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 18:05:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 11:05:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ca66e4ee-4af0-464b-9aef-4befc14b0df3</value></item-id></result>

2020-09-18 11:05:25 | contains: true

2020-09-18 11:05:25 | [Mutex] waiting for: [user_regular1149jm0202@test-domain.com:message:received:content_epgxah0205]

2020-09-18 11:05:40 | [Mutex] timeout. Not received [user_regular1149jm0202@test-domain.com:message:received:content_epgxah0205]

2020-09-18 11:05:40 | [Mutex] isItemNotified: user_regular1149jm0202@test-domain.com:message:received:content_epgxah0205 :: false

2020-09-18 11:05:40 |


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


2020-09-18 11:05:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 11:05:40 | command: <data><node>node_i1ve5h0203</node><entry><content>content_drpvua0206</content></entry></data>

2020-09-18 11:05:40 | target: http://localhost:8088

2020-09-18 11:05:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-18 11:05:40 | entity: <data><node>node_i1ve5h0203</node><entry><content>content_drpvua0206</content></entry></data>

2020-09-18 11:05:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 18:05:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 11:05:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8b3533ab-9e5c-4f25-b531-ccb447e02e17</value></item-id></result>

2020-09-18 11:05:40 | contains: true

2020-09-18 11:05:45 | [Mutex] waiting for: [user_regular1149jm0202@test-domain.com:message:received:content_drpvua0206]

2020-09-18 11:05:45 | [Mutex] received everything.

2020-09-18 11:05:45 | [Mutex] isItemNotified: user_regular1149jm0202@test-domain.com:message:received:content_drpvua0206 :: true

2020-09-18 11:05:45 |


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


2020-09-18 11:05:45 | [Mutex] received everything.

2020-09-18 11:05:45 | [Mutex] isItemNotified: node_i1ve5h0203:subscribe_node:success :: true

2020-09-18 11:05:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 11:05:45 | command: <data><node>node_i1ve5h0203</node><expire-at>2020-09-18T18:05:50Z</expire-at><entry><content>content_n0o5rg0207</content></entry></data>

2020-09-18 11:05:45 | target: http://localhost:8088

2020-09-18 11:05:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-18 11:05:45 | entity: <data><node>node_i1ve5h0203</node><expire-at>2020-09-18T18:05:50Z</expire-at><entry><content>content_n0o5rg0207</content></entry></data>

2020-09-18 11:05:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 18:05:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 11:05:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fdd190aa-448d-4932-a990-aa9ce633ea39</value></item-id></result>

2020-09-18 11:05:45 | contains: true

2020-09-18 11:05:54 | [Mutex] waiting for: [user_regular1149jm0202@test-domain.com:message:received:content_n0o5rg0207]

2020-09-18 11:05:54 | [Mutex] waiting for: [user_regular1149jm0202@test-domain.com:message:received:content_n0o5rg0207]

2020-09-18 11:05:54 | [Mutex] waiting for: [user_regular1149jm0202@test-domain.com:message:received:content_n0o5rg0207]

2020-09-18 11:06:09 | [Mutex] timeout. Not received [user_regular1149jm0202@test-domain.com:message:received:content_n0o5rg0207]

2020-09-18 11:06:09 | [Mutex] received everything.

2020-09-18 11:06:09 | [Mutex] isItemNotified: user_regular1149jm0202@test-domain.com:message:received:content_n0o5rg0207 :: false

2020-09-18 11:06:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_n0o5rg0207 :: true