Generated by TestNG with ReportNG at 22:46 PDT on Tuesday 20 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.906s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.818s
2020-10-20 23:01:22 |

2020-10-20 23:01:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-20 23:01:22 | ------------------------------------

2020-10-20 23:01:22 | [Mutex] isItemNotified: node_vsle8x0203:exists :: false

2020-10-20 23:01:22 | [Mutex] waiting for: [node_vsle8x0203:create_node]

2020-10-20 23:01:22 | [Mutex] received everything.

2020-10-20 23:01:22 | [Mutex] isItemNotified: node_vsle8x0203:create_node:success :: true

2020-10-20 23:01:22 | [Mutex] waiting for: [node_vsle8x0203:subscribe_node]

2020-10-20 23:01:22 | [Mutex] waiting for: [node_vsle8x0203:subscribe_node]

2020-10-20 23:01:22 | [Mutex] received everything.

2020-10-20 23:01:22 | [Mutex] isItemNotified: node_vsle8x0203:subscribe_node:success :: true

2020-10-20 23:01:22 |


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


2020-10-20 23:01:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-20 23:01:22 | command: <data><node>node_vsle8x0203</node><entry><content>content_qe64kc0204</content></entry></data>

2020-10-20 23:01:22 | target: http://localhost:8088

2020-10-20 23:01:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-20 23:01:22 | entity: <data><node>node_vsle8x0203</node><entry><content>content_qe64kc0204</content></entry></data>

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

2020-10-20 23:01:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2eebed24-97d5-4968-a7b2-ea9dc28f125a</value></item-id></result>

2020-10-20 23:01:22 | contains: true

2020-10-20 23:01:22 | [Mutex] received everything.

2020-10-20 23:01:22 | [Mutex] isItemNotified: user_regular98x6y50202@test-domain.com:message:received:content_qe64kc0204 :: true

2020-10-20 23:01:22 |


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


2020-10-20 23:01:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-20 23:01:22 | command: <data><node>node_vsle8x0203</node><expire-at>2020-10-21T06:01:17Z</expire-at><entry><content>content_1pobah0205</content></entry></data>

2020-10-20 23:01:22 | target: http://localhost:8088

2020-10-20 23:01:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-20 23:01:22 | entity: <data><node>node_vsle8x0203</node><expire-at>2020-10-21T06:01:17Z</expire-at><entry><content>content_1pobah0205</content></entry></data>

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

2020-10-20 23:01:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>aba9dbe0-7c1f-47ed-a7f3-a0721d2dc848</value></item-id></result>

2020-10-20 23:01:22 | contains: true

2020-10-20 23:01:22 | [Mutex] waiting for: [user_regular98x6y50202@test-domain.com:message:received:content_1pobah0205]

2020-10-20 23:01:37 | [Mutex] timeout. Not received [user_regular98x6y50202@test-domain.com:message:received:content_1pobah0205]

2020-10-20 23:01:37 | [Mutex] isItemNotified: user_regular98x6y50202@test-domain.com:message:received:content_1pobah0205 :: false

2020-10-20 23:01:37 |


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


2020-10-20 23:01:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-20 23:01:37 | command: <data><node>node_vsle8x0203</node><entry><content>content_s7wegc0206</content></entry></data>

2020-10-20 23:01:37 | target: http://localhost:8088

2020-10-20 23:01:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-20 23:01:37 | entity: <data><node>node_vsle8x0203</node><entry><content>content_s7wegc0206</content></entry></data>

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

2020-10-20 23:01:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8b381fd0-5372-4f80-a5d1-59cac74ecb97</value></item-id></result>

2020-10-20 23:01:37 | contains: true

2020-10-20 23:01:43 | [Mutex] waiting for: [user_regular98x6y50202@test-domain.com:message:received:content_s7wegc0206]

2020-10-20 23:01:43 | [Mutex] received everything.

2020-10-20 23:01:43 | [Mutex] isItemNotified: user_regular98x6y50202@test-domain.com:message:received:content_s7wegc0206 :: true

2020-10-20 23:01:43 |


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


2020-10-20 23:01:43 | [Mutex] received everything.

2020-10-20 23:01:43 | [Mutex] isItemNotified: node_vsle8x0203:subscribe_node:success :: true

2020-10-20 23:01:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-20 23:01:43 | command: <data><node>node_vsle8x0203</node><expire-at>2020-10-21T06:01:48Z</expire-at><entry><content>content_sho6rp0207</content></entry></data>

2020-10-20 23:01:43 | target: http://localhost:8088

2020-10-20 23:01:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-20 23:01:43 | entity: <data><node>node_vsle8x0203</node><expire-at>2020-10-21T06:01:48Z</expire-at><entry><content>content_sho6rp0207</content></entry></data>

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

2020-10-20 23:01:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>26b8485c-a259-4c04-9da5-16826520f647</value></item-id></result>

2020-10-20 23:01:43 | contains: true

2020-10-20 23:01:51 | [Mutex] waiting for: [user_regular98x6y50202@test-domain.com:message:received:content_sho6rp0207]

2020-10-20 23:01:51 | [Mutex] waiting for: [user_regular98x6y50202@test-domain.com:message:received:content_sho6rp0207]

2020-10-20 23:02:06 | [Mutex] timeout. Not received [user_regular98x6y50202@test-domain.com:message:received:content_sho6rp0207]

2020-10-20 23:02:06 | [Mutex] received everything.

2020-10-20 23:02:06 | [Mutex] isItemNotified: user_regular98x6y50202@test-domain.com:message:received:content_sho6rp0207 :: false

2020-10-20 23:02:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_sho6rp0207 :: true