Generated by TestNG with ReportNG at 22:16 PDT on Tuesday 20 June 2023
root@1512af24e4a5 / Java 17.0.6 (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.456s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.584s
2023-06-20 22:30:44 |

2023-06-20 22:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-06-20 22:30:44 | ------------------------------------

2023-06-20 22:30:44 | [Mutex] isItemNotified: node_3i826p0208:exists :: false

2023-06-20 22:30:44 | [Mutex] waiting for: [node_3i826p0208:create_node]

2023-06-20 22:30:44 | [Mutex] received everything.

2023-06-20 22:30:44 | [Mutex] isItemNotified: node_3i826p0208:create_node:success :: true

2023-06-20 22:30:44 | [Mutex] waiting for: [node_3i826p0208:subscribe_node]

2023-06-20 22:30:44 | [Mutex] waiting for: [node_3i826p0208:subscribe_node]

2023-06-20 22:30:44 | [Mutex] received everything.

2023-06-20 22:30:44 | [Mutex] isItemNotified: node_3i826p0208:subscribe_node:success :: true

2023-06-20 22:30:44 |


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


2023-06-20 22:30:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-20 22:30:44 | command: <data><node>node_3i826p0208</node><entry><content>content_18aai70209</content></entry></data>

2023-06-20 22:30:44 | target: http://localhost:8088

2023-06-20 22:30:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-06-20 22:30:44 | entity: <data><node>node_3i826p0208</node><entry><content>content_18aai70209</content></entry></data>

2023-06-20 22:30:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 05:30:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-20 22:30:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2640e2d1-fa38-493b-8be8-9ad28315936b</value></item-id></result>

2023-06-20 22:30:44 | contains: true

2023-06-20 22:30:44 | [Mutex] received everything.

2023-06-20 22:30:44 | [Mutex] isItemNotified: user_regularwsh0m30207@test-domain.com:message:received:content_18aai70209 :: true

2023-06-20 22:30:44 |


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


2023-06-20 22:30:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-20 22:30:44 | command: <data><node>node_3i826p0208</node><expire-at>2023-06-21T05:30:39Z</expire-at><entry><content>content_plhnie0210</content></entry></data>

2023-06-20 22:30:44 | target: http://localhost:8088

2023-06-20 22:30:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-06-20 22:30:44 | entity: <data><node>node_3i826p0208</node><expire-at>2023-06-21T05:30:39Z</expire-at><entry><content>content_plhnie0210</content></entry></data>

2023-06-20 22:30:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 05:30:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-20 22:30:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ff328f47-42b8-49dd-bce8-b87065223fe8</value></item-id></result>

2023-06-20 22:30:44 | contains: true

2023-06-20 22:30:44 | [Mutex] waiting for: [user_regularwsh0m30207@test-domain.com:message:received:content_plhnie0210]

2023-06-20 22:30:59 | [Mutex] timeout. Not received [user_regularwsh0m30207@test-domain.com:message:received:content_plhnie0210]

2023-06-20 22:30:59 | [Mutex] isItemNotified: user_regularwsh0m30207@test-domain.com:message:received:content_plhnie0210 :: false

2023-06-20 22:30:59 |


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


2023-06-20 22:30:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-20 22:30:59 | command: <data><node>node_3i826p0208</node><entry><content>content_qv1guo0211</content></entry></data>

2023-06-20 22:30:59 | target: http://localhost:8088

2023-06-20 22:30:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-06-20 22:30:59 | entity: <data><node>node_3i826p0208</node><entry><content>content_qv1guo0211</content></entry></data>

2023-06-20 22:30:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 05:30:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-20 22:30:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c79bf1fc-3e57-417d-aa47-6d5dc55c474c</value></item-id></result>

2023-06-20 22:30:59 | contains: true

2023-06-20 22:31:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-06-20 22:31:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-06-20 22:31:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-06-20 22:31:04 | [Mutex] waiting for: [user_regularwsh0m30207@test-domain.com:message:received:content_qv1guo0211]

2023-06-20 22:31:04 | [Mutex] waiting for: [user_regularwsh0m30207@test-domain.com:message:received:content_qv1guo0211]

2023-06-20 22:31:04 | [Mutex] received everything.

2023-06-20 22:31:04 | [Mutex] isItemNotified: user_regularwsh0m30207@test-domain.com:message:received:content_qv1guo0211 :: true

2023-06-20 22:31:04 |


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


2023-06-20 22:31:04 | [Mutex] received everything.

2023-06-20 22:31:04 | [Mutex] isItemNotified: node_3i826p0208:subscribe_node:success :: true

2023-06-20 22:31:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-20 22:31:04 | command: <data><node>node_3i826p0208</node><expire-at>2023-06-21T05:31:09Z</expire-at><entry><content>content_yg26120212</content></entry></data>

2023-06-20 22:31:04 | target: http://localhost:8088

2023-06-20 22:31:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-06-20 22:31:04 | entity: <data><node>node_3i826p0208</node><expire-at>2023-06-21T05:31:09Z</expire-at><entry><content>content_yg26120212</content></entry></data>

2023-06-20 22:31:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 05:31:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-20 22:31:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e4f4171c-7091-4ee9-85e4-51aec312d777</value></item-id></result>

2023-06-20 22:31:04 | contains: true

2023-06-20 22:31:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-06-20 22:31:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-06-20 22:31:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-06-20 22:31:12 | [Mutex] waiting for: [user_regularwsh0m30207@test-domain.com:message:received:content_yg26120212]

2023-06-20 22:31:27 | [Mutex] timeout. Not received [user_regularwsh0m30207@test-domain.com:message:received:content_yg26120212]

2023-06-20 22:31:27 | [Mutex] received everything.

2023-06-20 22:31:27 | [Mutex] isItemNotified: user_regularwsh0m30207@test-domain.com:message:received:content_yg26120212 :: false

2023-06-20 22:31:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yg26120212 :: true