Generated by TestNG with ReportNG at 21:13 PST on Sunday 14 February 2021
root@43fec6d4badf / 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.674s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.822s
2021-02-14 21:29:49 |

2021-02-14 21:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-02-14 21:29:49 | ------------------------------------

2021-02-14 21:29:49 | [Mutex] isItemNotified: node_6zbn4m0203:exists :: false

2021-02-14 21:29:49 | [Mutex] waiting for: [node_6zbn4m0203:create_node]

2021-02-14 21:29:49 | [Mutex] received everything.

2021-02-14 21:29:49 | [Mutex] isItemNotified: node_6zbn4m0203:create_node:success :: true

2021-02-14 21:29:49 | [Mutex] waiting for: [node_6zbn4m0203:subscribe_node]

2021-02-14 21:29:49 | [Mutex] received everything.

2021-02-14 21:29:49 | [Mutex] isItemNotified: node_6zbn4m0203:subscribe_node:success :: true

2021-02-14 21:29:49 |


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


2021-02-14 21:29:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-14 21:29:49 | command: <data><node>node_6zbn4m0203</node><entry><content>content_hp9mgn0204</content></entry></data>

2021-02-14 21:29:49 | target: http://localhost:8088

2021-02-14 21:29:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-14 21:29:49 | entity: <data><node>node_6zbn4m0203</node><entry><content>content_hp9mgn0204</content></entry></data>

2021-02-14 21:29:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 05:29:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-14 21:29:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fa90483e-d573-4efe-b588-e4101eddce89</value></item-id></result>

2021-02-14 21:29:49 | contains: true

2021-02-14 21:29:49 | [Mutex] waiting for: [user_regular4bhxoe0202@test-domain.com:message:received:content_hp9mgn0204]

2021-02-14 21:29:49 | [Mutex] received everything.

2021-02-14 21:29:49 | [Mutex] isItemNotified: user_regular4bhxoe0202@test-domain.com:message:received:content_hp9mgn0204 :: true

2021-02-14 21:29:49 |


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


2021-02-14 21:29:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-14 21:29:49 | command: <data><node>node_6zbn4m0203</node><expire-at>2021-02-15T05:29:44Z</expire-at><entry><content>content_91vdwq0205</content></entry></data>

2021-02-14 21:29:49 | target: http://localhost:8088

2021-02-14 21:29:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-14 21:29:49 | entity: <data><node>node_6zbn4m0203</node><expire-at>2021-02-15T05:29:44Z</expire-at><entry><content>content_91vdwq0205</content></entry></data>

2021-02-14 21:29:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 05:29:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-14 21:29:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ef16690d-7543-4a47-8643-2cb34594cc91</value></item-id></result>

2021-02-14 21:29:49 | contains: true

2021-02-14 21:29:49 | [Mutex] waiting for: [user_regular4bhxoe0202@test-domain.com:message:received:content_91vdwq0205]

2021-02-14 21:30:04 | [Mutex] timeout. Not received [user_regular4bhxoe0202@test-domain.com:message:received:content_91vdwq0205]

2021-02-14 21:30:04 | [Mutex] isItemNotified: user_regular4bhxoe0202@test-domain.com:message:received:content_91vdwq0205 :: false

2021-02-14 21:30:04 |


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


2021-02-14 21:30:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-14 21:30:04 | command: <data><node>node_6zbn4m0203</node><entry><content>content_1p9ole0206</content></entry></data>

2021-02-14 21:30:04 | target: http://localhost:8088

2021-02-14 21:30:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-14 21:30:04 | entity: <data><node>node_6zbn4m0203</node><entry><content>content_1p9ole0206</content></entry></data>

2021-02-14 21:30:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 05:30:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-14 21:30:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fc8d3b5b-18b9-4efa-932e-b2186cf9fe28</value></item-id></result>

2021-02-14 21:30:04 | contains: true

2021-02-14 21:30:09 | [Mutex] waiting for: [user_regular4bhxoe0202@test-domain.com:message:received:content_1p9ole0206]

2021-02-14 21:30:09 | [Mutex] received everything.

2021-02-14 21:30:09 | [Mutex] isItemNotified: user_regular4bhxoe0202@test-domain.com:message:received:content_1p9ole0206 :: true

2021-02-14 21:30:09 |


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


2021-02-14 21:30:09 | [Mutex] received everything.

2021-02-14 21:30:09 | [Mutex] isItemNotified: node_6zbn4m0203:subscribe_node:success :: true

2021-02-14 21:30:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-14 21:30:09 | command: <data><node>node_6zbn4m0203</node><expire-at>2021-02-15T05:30:14Z</expire-at><entry><content>content_f3gvfe0207</content></entry></data>

2021-02-14 21:30:09 | target: http://localhost:8088

2021-02-14 21:30:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-14 21:30:09 | entity: <data><node>node_6zbn4m0203</node><expire-at>2021-02-15T05:30:14Z</expire-at><entry><content>content_f3gvfe0207</content></entry></data>

2021-02-14 21:30:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 05:30:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-14 21:30:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b82163b0-eba6-4976-b2f6-84550461999a</value></item-id></result>

2021-02-14 21:30:09 | contains: true

2021-02-14 21:30:18 | [Mutex] waiting for: [user_regular4bhxoe0202@test-domain.com:message:received:content_f3gvfe0207]

2021-02-14 21:30:18 | [Mutex] waiting for: [user_regular4bhxoe0202@test-domain.com:message:received:content_f3gvfe0207]

2021-02-14 21:30:18 | [Mutex] waiting for: [user_regular4bhxoe0202@test-domain.com:message:received:content_f3gvfe0207]

2021-02-14 21:30:33 | [Mutex] timeout. Not received [user_regular4bhxoe0202@test-domain.com:message:received:content_f3gvfe0207]

2021-02-14 21:30:33 | [Mutex] received everything.

2021-02-14 21:30:33 | [Mutex] isItemNotified: user_regular4bhxoe0202@test-domain.com:message:received:content_f3gvfe0207 :: false

2021-02-14 21:30:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_f3gvfe0207 :: true