Generated by TestNG with ReportNG at 22:31 PDT on Sunday 27 August 2023
root@4cddc3fbde15 / Java 17.0.8 (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.702s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.628s
2023-08-27 22:46:33 |

2023-08-27 22:46:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-08-27 22:46:33 | ------------------------------------

2023-08-27 22:46:33 | [Mutex] isItemNotified: node_lmjfcm0208:exists :: false

2023-08-27 22:46:33 | [Mutex] waiting for: [node_lmjfcm0208:create_node]

2023-08-27 22:46:33 | [Mutex] waiting for: [node_lmjfcm0208:create_node]

2023-08-27 22:46:33 | [Mutex] received everything.

2023-08-27 22:46:33 | [Mutex] isItemNotified: node_lmjfcm0208:create_node:success :: true

2023-08-27 22:46:33 | [Mutex] waiting for: [node_lmjfcm0208:subscribe_node]

2023-08-27 22:46:33 | [Mutex] waiting for: [node_lmjfcm0208:subscribe_node]

2023-08-27 22:46:33 | [Mutex] received everything.

2023-08-27 22:46:33 | [Mutex] isItemNotified: node_lmjfcm0208:subscribe_node:success :: true

2023-08-27 22:46:33 |


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


2023-08-27 22:46:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-27 22:46:33 | command: <data><node>node_lmjfcm0208</node><entry><content>content_ldanzq0209</content></entry></data>

2023-08-27 22:46:33 | target: http://localhost:8088

2023-08-27 22:46:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-08-27 22:46:33 | entity: <data><node>node_lmjfcm0208</node><entry><content>content_ldanzq0209</content></entry></data>

2023-08-27 22:46:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Aug 2023 05:46:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-27 22:46:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8ab69778-0b58-4ceb-8e31-e93a8ddfc0b1</value></item-id></result>

2023-08-27 22:46:33 | contains: true

2023-08-27 22:46:33 | [Mutex] received everything.

2023-08-27 22:46:33 | [Mutex] isItemNotified: user_regularqta6ej0207@test-domain.com:message:received:content_ldanzq0209 :: true

2023-08-27 22:46:33 |


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


2023-08-27 22:46:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-27 22:46:33 | command: <data><node>node_lmjfcm0208</node><expire-at>2023-08-28T05:46:28Z</expire-at><entry><content>content_7r9gn90210</content></entry></data>

2023-08-27 22:46:33 | target: http://localhost:8088

2023-08-27 22:46:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-08-27 22:46:33 | entity: <data><node>node_lmjfcm0208</node><expire-at>2023-08-28T05:46:28Z</expire-at><entry><content>content_7r9gn90210</content></entry></data>

2023-08-27 22:46:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Aug 2023 05:46:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-27 22:46:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3c2e0ff2-7c78-4fea-b213-ea622aacb5e4</value></item-id></result>

2023-08-27 22:46:33 | contains: true

2023-08-27 22:46:33 | [Mutex] waiting for: [user_regularqta6ej0207@test-domain.com:message:received:content_7r9gn90210]

2023-08-27 22:46:48 | [Mutex] timeout. Not received [user_regularqta6ej0207@test-domain.com:message:received:content_7r9gn90210]

2023-08-27 22:46:48 | [Mutex] isItemNotified: user_regularqta6ej0207@test-domain.com:message:received:content_7r9gn90210 :: false

2023-08-27 22:46:48 |


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


2023-08-27 22:46:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-27 22:46:48 | command: <data><node>node_lmjfcm0208</node><entry><content>content_mmevq30211</content></entry></data>

2023-08-27 22:46:48 | target: http://localhost:8088

2023-08-27 22:46:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-08-27 22:46:48 | entity: <data><node>node_lmjfcm0208</node><entry><content>content_mmevq30211</content></entry></data>

2023-08-27 22:46:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Aug 2023 05:46:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-27 22:46:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6ae0a11f-dcbd-4c5b-ae25-8057003d0502</value></item-id></result>

2023-08-27 22:46:48 | contains: true

2023-08-27 22:46:53 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-08-27 22:46:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-08-27 22:46:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-08-27 22:46:53 | [Mutex] waiting for: [user_regularqta6ej0207@test-domain.com:message:received:content_mmevq30211]

2023-08-27 22:46:53 | [Mutex] waiting for: [user_regularqta6ej0207@test-domain.com:message:received:content_mmevq30211]

2023-08-27 22:46:53 | [Mutex] received everything.

2023-08-27 22:46:53 | [Mutex] isItemNotified: user_regularqta6ej0207@test-domain.com:message:received:content_mmevq30211 :: true

2023-08-27 22:46:53 |


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


2023-08-27 22:46:53 | [Mutex] received everything.

2023-08-27 22:46:53 | [Mutex] isItemNotified: node_lmjfcm0208:subscribe_node:success :: true

2023-08-27 22:46:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-27 22:46:53 | command: <data><node>node_lmjfcm0208</node><expire-at>2023-08-28T05:46:58Z</expire-at><entry><content>content_ln80m20212</content></entry></data>

2023-08-27 22:46:53 | target: http://localhost:8088

2023-08-27 22:46:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-08-27 22:46:53 | entity: <data><node>node_lmjfcm0208</node><expire-at>2023-08-28T05:46:58Z</expire-at><entry><content>content_ln80m20212</content></entry></data>

2023-08-27 22:46:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Aug 2023 05:46:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-27 22:46:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f5726038-df9c-44c5-9ee2-475d37a8cf61</value></item-id></result>

2023-08-27 22:46:54 | contains: true

2023-08-27 22:47:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-08-27 22:47:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-08-27 22:47:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-08-27 22:47:02 | [Mutex] waiting for: [user_regularqta6ej0207@test-domain.com:message:received:content_ln80m20212]

2023-08-27 22:47:02 | [Mutex] waiting for: [user_regularqta6ej0207@test-domain.com:message:received:content_ln80m20212]

2023-08-27 22:47:02 | [Mutex] waiting for: [user_regularqta6ej0207@test-domain.com:message:received:content_ln80m20212]

2023-08-27 22:47:17 | [Mutex] timeout. Not received [user_regularqta6ej0207@test-domain.com:message:received:content_ln80m20212]

2023-08-27 22:47:17 | [Mutex] received everything.

2023-08-27 22:47:17 | [Mutex] isItemNotified: user_regularqta6ej0207@test-domain.com:message:received:content_ln80m20212 :: false

2023-08-27 22:47:17 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ln80m20212 :: true