Generated by TestNG with ReportNG at 04:26 PST on Monday 26 December 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.555s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.672s
2022-12-26 04:41:27 |

2022-12-26 04:41:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-12-26 04:41:27 | ------------------------------------

2022-12-26 04:41:27 | [Mutex] isItemNotified: node_t5e8ao0204:exists :: false

2022-12-26 04:41:27 | [Mutex] waiting for: [node_t5e8ao0204:create_node]

2022-12-26 04:41:27 | [Mutex] received everything.

2022-12-26 04:41:27 | [Mutex] isItemNotified: node_t5e8ao0204:create_node:success :: true

2022-12-26 04:41:27 | [Mutex] waiting for: [node_t5e8ao0204:subscribe_node]

2022-12-26 04:41:27 | [Mutex] received everything.

2022-12-26 04:41:27 | [Mutex] isItemNotified: node_t5e8ao0204:subscribe_node:success :: true

2022-12-26 04:41:27 |


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


2022-12-26 04:41:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-26 04:41:27 | command: <data><node>node_t5e8ao0204</node><entry><content>content_p8a3p50205</content></entry></data>

2022-12-26 04:41:27 | target: http://localhost:8088

2022-12-26 04:41:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-26 04:41:27 | entity: <data><node>node_t5e8ao0204</node><entry><content>content_p8a3p50205</content></entry></data>

2022-12-26 04:41:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 12:41:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-26 04:41:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>da7add81-ed72-4712-a6e7-915923b23e73</value></item-id></result>

2022-12-26 04:41:27 | contains: true

2022-12-26 04:41:27 | [Mutex] waiting for: [user_regular1tavq60203@test-domain.com:message:received:content_p8a3p50205]

2022-12-26 04:41:27 | [Mutex] received everything.

2022-12-26 04:41:27 | [Mutex] isItemNotified: user_regular1tavq60203@test-domain.com:message:received:content_p8a3p50205 :: true

2022-12-26 04:41:27 |


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


2022-12-26 04:41:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-26 04:41:27 | command: <data><node>node_t5e8ao0204</node><expire-at>2022-12-26T12:41:22Z</expire-at><entry><content>content_xsyzf00206</content></entry></data>

2022-12-26 04:41:27 | target: http://localhost:8088

2022-12-26 04:41:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-26 04:41:27 | entity: <data><node>node_t5e8ao0204</node><expire-at>2022-12-26T12:41:22Z</expire-at><entry><content>content_xsyzf00206</content></entry></data>

2022-12-26 04:41:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 12:41:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-26 04:41:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6f56b11e-c68f-4981-bb41-fe06108b76b4</value></item-id></result>

2022-12-26 04:41:27 | contains: true

2022-12-26 04:41:27 | [Mutex] waiting for: [user_regular1tavq60203@test-domain.com:message:received:content_xsyzf00206]

2022-12-26 04:41:42 | [Mutex] timeout. Not received [user_regular1tavq60203@test-domain.com:message:received:content_xsyzf00206]

2022-12-26 04:41:42 | [Mutex] isItemNotified: user_regular1tavq60203@test-domain.com:message:received:content_xsyzf00206 :: false

2022-12-26 04:41:42 |


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


2022-12-26 04:41:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-26 04:41:42 | command: <data><node>node_t5e8ao0204</node><entry><content>content_ddfrd70207</content></entry></data>

2022-12-26 04:41:42 | target: http://localhost:8088

2022-12-26 04:41:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-26 04:41:42 | entity: <data><node>node_t5e8ao0204</node><entry><content>content_ddfrd70207</content></entry></data>

2022-12-26 04:41:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 12:41:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-26 04:41:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a6d374c5-b008-4acb-b9a0-c7da69dd9932</value></item-id></result>

2022-12-26 04:41:42 | contains: true

2022-12-26 04:41:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-26 04:41:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-12-26 04:41:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-26 04:41:47 | [Mutex] waiting for: [user_regular1tavq60203@test-domain.com:message:received:content_ddfrd70207]

2022-12-26 04:41:47 | [Mutex] waiting for: [user_regular1tavq60203@test-domain.com:message:received:content_ddfrd70207]

2022-12-26 04:41:47 | [Mutex] received everything.

2022-12-26 04:41:47 | [Mutex] isItemNotified: user_regular1tavq60203@test-domain.com:message:received:content_ddfrd70207 :: true

2022-12-26 04:41:47 |


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


2022-12-26 04:41:47 | [Mutex] received everything.

2022-12-26 04:41:47 | [Mutex] isItemNotified: node_t5e8ao0204:subscribe_node:success :: true

2022-12-26 04:41:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-26 04:41:47 | command: <data><node>node_t5e8ao0204</node><expire-at>2022-12-26T12:41:52Z</expire-at><entry><content>content_b9rveg0208</content></entry></data>

2022-12-26 04:41:47 | target: http://localhost:8088

2022-12-26 04:41:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-26 04:41:47 | entity: <data><node>node_t5e8ao0204</node><expire-at>2022-12-26T12:41:52Z</expire-at><entry><content>content_b9rveg0208</content></entry></data>

2022-12-26 04:41:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 12:41:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-26 04:41:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8463ded6-98d2-4d60-825f-9206d2a8ca41</value></item-id></result>

2022-12-26 04:41:47 | contains: true

2022-12-26 04:41:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-12-26 04:41:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-12-26 04:41:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-12-26 04:41:56 | [Mutex] waiting for: [user_regular1tavq60203@test-domain.com:message:received:content_b9rveg0208]

2022-12-26 04:41:56 | [Mutex] waiting for: [user_regular1tavq60203@test-domain.com:message:received:content_b9rveg0208]

2022-12-26 04:41:56 | [Mutex] waiting for: [user_regular1tavq60203@test-domain.com:message:received:content_b9rveg0208]

2022-12-26 04:42:11 | [Mutex] timeout. Not received [user_regular1tavq60203@test-domain.com:message:received:content_b9rveg0208]

2022-12-26 04:42:11 | [Mutex] received everything.

2022-12-26 04:42:11 | [Mutex] isItemNotified: user_regular1tavq60203@test-domain.com:message:received:content_b9rveg0208 :: false

2022-12-26 04:42:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_b9rveg0208 :: true