Generated by TestNG with ReportNG at 22:16 PDT on Sunday 26 March 2023
root@7c41cec37518 / 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.554s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.573s
2023-03-26 22:30:42 |

2023-03-26 22:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-26 22:30:42 | ------------------------------------

2023-03-26 22:30:42 | [Mutex] isItemNotified: node_k9dkui0208:exists :: false

2023-03-26 22:30:42 | [Mutex] waiting for: [node_k9dkui0208:create_node]

2023-03-26 22:30:42 | [Mutex] received everything.

2023-03-26 22:30:42 | [Mutex] isItemNotified: node_k9dkui0208:create_node:success :: true

2023-03-26 22:30:42 | [Mutex] waiting for: [node_k9dkui0208:subscribe_node]

2023-03-26 22:30:42 | [Mutex] waiting for: [node_k9dkui0208:subscribe_node]

2023-03-26 22:30:42 | [Mutex] received everything.

2023-03-26 22:30:42 | [Mutex] isItemNotified: node_k9dkui0208:subscribe_node:success :: true

2023-03-26 22:30:42 |


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


2023-03-26 22:30:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-26 22:30:42 | command: <data><node>node_k9dkui0208</node><entry><content>content_wipwj60209</content></entry></data>

2023-03-26 22:30:42 | target: http://localhost:8088

2023-03-26 22:30:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-26 22:30:42 | entity: <data><node>node_k9dkui0208</node><entry><content>content_wipwj60209</content></entry></data>

2023-03-26 22:30:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 27 Mar 2023 05:30:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-26 22:30:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a0acf7c2-cae6-4f5a-b063-da4cb2f1f2ee</value></item-id></result>

2023-03-26 22:30:42 | contains: true

2023-03-26 22:30:42 | [Mutex] waiting for: [user_regularulmxen0207@test-domain.com:message:received:content_wipwj60209]

2023-03-26 22:30:42 | [Mutex] received everything.

2023-03-26 22:30:42 | [Mutex] isItemNotified: user_regularulmxen0207@test-domain.com:message:received:content_wipwj60209 :: true

2023-03-26 22:30:42 |


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


2023-03-26 22:30:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-26 22:30:42 | command: <data><node>node_k9dkui0208</node><expire-at>2023-03-27T05:30:37Z</expire-at><entry><content>content_gp4i100210</content></entry></data>

2023-03-26 22:30:42 | target: http://localhost:8088

2023-03-26 22:30:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-26 22:30:42 | entity: <data><node>node_k9dkui0208</node><expire-at>2023-03-27T05:30:37Z</expire-at><entry><content>content_gp4i100210</content></entry></data>

2023-03-26 22:30:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 27 Mar 2023 05:30:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-26 22:30:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7ecbe79b-2d49-4b1a-ba54-533875b4fc7e</value></item-id></result>

2023-03-26 22:30:42 | contains: true

2023-03-26 22:30:42 | [Mutex] waiting for: [user_regularulmxen0207@test-domain.com:message:received:content_gp4i100210]

2023-03-26 22:30:57 | [Mutex] timeout. Not received [user_regularulmxen0207@test-domain.com:message:received:content_gp4i100210]

2023-03-26 22:30:57 | [Mutex] isItemNotified: user_regularulmxen0207@test-domain.com:message:received:content_gp4i100210 :: false

2023-03-26 22:30:57 |


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


2023-03-26 22:30:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-26 22:30:57 | command: <data><node>node_k9dkui0208</node><entry><content>content_qgnf6w0211</content></entry></data>

2023-03-26 22:30:57 | target: http://localhost:8088

2023-03-26 22:30:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-26 22:30:57 | entity: <data><node>node_k9dkui0208</node><entry><content>content_qgnf6w0211</content></entry></data>

2023-03-26 22:30:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 27 Mar 2023 05:30:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-26 22:30:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f70748b7-cf12-411c-a37d-13d02de93b6b</value></item-id></result>

2023-03-26 22:30:57 | contains: true

2023-03-26 22:31:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-26 22:31:03 | [Mutex] waiting for: [user_regularulmxen0207@test-domain.com:message:received:content_qgnf6w0211]

2023-03-26 22:31:03 | [Mutex] waiting for: [user_regularulmxen0207@test-domain.com:message:received:content_qgnf6w0211]

2023-03-26 22:31:03 | [Mutex] received everything.

2023-03-26 22:31:03 | [Mutex] isItemNotified: user_regularulmxen0207@test-domain.com:message:received:content_qgnf6w0211 :: true

2023-03-26 22:31:03 |


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


2023-03-26 22:31:03 | [Mutex] received everything.

2023-03-26 22:31:03 | [Mutex] isItemNotified: node_k9dkui0208:subscribe_node:success :: true

2023-03-26 22:31:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-26 22:31:03 | command: <data><node>node_k9dkui0208</node><expire-at>2023-03-27T05:31:08Z</expire-at><entry><content>content_820rp70212</content></entry></data>

2023-03-26 22:31:03 | target: http://localhost:8088

2023-03-26 22:31:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-26 22:31:03 | entity: <data><node>node_k9dkui0208</node><expire-at>2023-03-27T05:31:08Z</expire-at><entry><content>content_820rp70212</content></entry></data>

2023-03-26 22:31:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 27 Mar 2023 05:31:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-26 22:31:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a293a0a0-9e4e-4706-b4dd-2626891f483e</value></item-id></result>

2023-03-26 22:31:03 | contains: true

2023-03-26 22:31:11 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-26 22:31:11 | [Mutex] waiting for: [user_regularulmxen0207@test-domain.com:message:received:content_820rp70212]

2023-03-26 22:31:11 | [Mutex] waiting for: [user_regularulmxen0207@test-domain.com:message:received:content_820rp70212]

2023-03-26 22:31:11 | [Mutex] waiting for: [user_regularulmxen0207@test-domain.com:message:received:content_820rp70212]

2023-03-26 22:31:26 | [Mutex] timeout. Not received [user_regularulmxen0207@test-domain.com:message:received:content_820rp70212]

2023-03-26 22:31:26 | [Mutex] received everything.

2023-03-26 22:31:26 | [Mutex] isItemNotified: user_regularulmxen0207@test-domain.com:message:received:content_820rp70212 :: false

2023-03-26 22:31:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_820rp70212 :: true