Generated by TestNG with ReportNG at 22:17 PDT on Tuesday 12 July 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.886s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.644s
2022-07-12 22:32:13 |

2022-07-12 22:32:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-12 22:32:13 | ------------------------------------

2022-07-12 22:32:13 | [Mutex] isItemNotified: node_1gw7vi0204:exists :: false

2022-07-12 22:32:13 | [Mutex] waiting for: [node_1gw7vi0204:create_node]

2022-07-12 22:32:13 | [Mutex] received everything.

2022-07-12 22:32:13 | [Mutex] isItemNotified: node_1gw7vi0204:create_node:success :: true

2022-07-12 22:32:13 | [Mutex] waiting for: [node_1gw7vi0204:subscribe_node]

2022-07-12 22:32:13 | [Mutex] waiting for: [node_1gw7vi0204:subscribe_node]

2022-07-12 22:32:13 | [Mutex] received everything.

2022-07-12 22:32:13 | [Mutex] isItemNotified: node_1gw7vi0204:subscribe_node:success :: true

2022-07-12 22:32:13 |


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


2022-07-12 22:32:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 22:32:13 | command: <data><node>node_1gw7vi0204</node><entry><content>content_u044c20205</content></entry></data>

2022-07-12 22:32:13 | target: http://localhost:8088

2022-07-12 22:32:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 22:32:13 | entity: <data><node>node_1gw7vi0204</node><entry><content>content_u044c20205</content></entry></data>

2022-07-12 22:32:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Jul 2022 05:32:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 22:32:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>028684f1-f327-4764-a5d7-07f9360bd04f</value></item-id></result>

2022-07-12 22:32:13 | contains: true

2022-07-12 22:32:13 | [Mutex] waiting for: [user_regulars44r000203@test-domain.com:message:received:content_u044c20205]

2022-07-12 22:32:13 | [Mutex] received everything.

2022-07-12 22:32:13 | [Mutex] isItemNotified: user_regulars44r000203@test-domain.com:message:received:content_u044c20205 :: true

2022-07-12 22:32:13 |


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


2022-07-12 22:32:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 22:32:13 | command: <data><node>node_1gw7vi0204</node><expire-at>2022-07-13T05:32:08Z</expire-at><entry><content>content_b6fpvq0206</content></entry></data>

2022-07-12 22:32:13 | target: http://localhost:8088

2022-07-12 22:32:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 22:32:13 | entity: <data><node>node_1gw7vi0204</node><expire-at>2022-07-13T05:32:08Z</expire-at><entry><content>content_b6fpvq0206</content></entry></data>

2022-07-12 22:32:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Jul 2022 05:32:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 22:32:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a5da183f-6f06-48e3-9a52-29d19a1f741a</value></item-id></result>

2022-07-12 22:32:14 | contains: true

2022-07-12 22:32:14 | [Mutex] waiting for: [user_regulars44r000203@test-domain.com:message:received:content_b6fpvq0206]

2022-07-12 22:32:29 | [Mutex] timeout. Not received [user_regulars44r000203@test-domain.com:message:received:content_b6fpvq0206]

2022-07-12 22:32:29 | [Mutex] isItemNotified: user_regulars44r000203@test-domain.com:message:received:content_b6fpvq0206 :: false

2022-07-12 22:32:29 |


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


2022-07-12 22:32:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 22:32:29 | command: <data><node>node_1gw7vi0204</node><entry><content>content_wy9xbu0207</content></entry></data>

2022-07-12 22:32:29 | target: http://localhost:8088

2022-07-12 22:32:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 22:32:29 | entity: <data><node>node_1gw7vi0204</node><entry><content>content_wy9xbu0207</content></entry></data>

2022-07-12 22:32:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Jul 2022 05:32:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 22:32:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>23173f58-8043-49e2-8804-7c656f701e89</value></item-id></result>

2022-07-12 22:32:29 | contains: true

2022-07-12 22:32:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-12 22:32:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-07-12 22:32:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-12 22:32:34 | [Mutex] waiting for: [user_regulars44r000203@test-domain.com:message:received:content_wy9xbu0207]

2022-07-12 22:32:34 | [Mutex] received everything.

2022-07-12 22:32:34 | [Mutex] isItemNotified: user_regulars44r000203@test-domain.com:message:received:content_wy9xbu0207 :: true

2022-07-12 22:32:34 |


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


2022-07-12 22:32:34 | [Mutex] received everything.

2022-07-12 22:32:34 | [Mutex] isItemNotified: node_1gw7vi0204:subscribe_node:success :: true

2022-07-12 22:32:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 22:32:34 | command: <data><node>node_1gw7vi0204</node><expire-at>2022-07-13T05:32:39Z</expire-at><entry><content>content_ioqumq0208</content></entry></data>

2022-07-12 22:32:34 | target: http://localhost:8088

2022-07-12 22:32:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 22:32:34 | entity: <data><node>node_1gw7vi0204</node><expire-at>2022-07-13T05:32:39Z</expire-at><entry><content>content_ioqumq0208</content></entry></data>

2022-07-12 22:32:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Jul 2022 05:32:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 22:32:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>05439b90-7a78-4074-9bb6-9ea81d08d0c6</value></item-id></result>

2022-07-12 22:32:34 | contains: true

2022-07-12 22:32:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-12 22:32:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-07-12 22:32:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-12 22:32:42 | [Mutex] waiting for: [user_regulars44r000203@test-domain.com:message:received:content_ioqumq0208]

2022-07-12 22:32:42 | [Mutex] waiting for: [user_regulars44r000203@test-domain.com:message:received:content_ioqumq0208]

2022-07-12 22:32:57 | [Mutex] timeout. Not received [user_regulars44r000203@test-domain.com:message:received:content_ioqumq0208]

2022-07-12 22:32:57 | [Mutex] received everything.

2022-07-12 22:32:57 | [Mutex] isItemNotified: user_regulars44r000203@test-domain.com:message:received:content_ioqumq0208 :: false

2022-07-12 22:32:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ioqumq0208 :: true