Generated by TestNG with ReportNG at 22:30 PDT on Monday 27 June 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 44.632s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.616s
2022-06-27 22:45:22 |

2022-06-27 22:45:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-27 22:45:22 | ------------------------------------

2022-06-27 22:45:22 | [Mutex] isItemNotified: node_43sewb0204:exists :: false

2022-06-27 22:45:22 | [Mutex] waiting for: [node_43sewb0204:create_node]

2022-06-27 22:45:22 | [Mutex] received everything.

2022-06-27 22:45:22 | [Mutex] isItemNotified: node_43sewb0204:create_node:success :: true

2022-06-27 22:45:22 | [Mutex] waiting for: [node_43sewb0204:subscribe_node]

2022-06-27 22:45:22 | [Mutex] received everything.

2022-06-27 22:45:22 | [Mutex] isItemNotified: node_43sewb0204:subscribe_node:success :: true

2022-06-27 22:45:22 |


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


2022-06-27 22:45:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-27 22:45:22 | command: <data><node>node_43sewb0204</node><entry><content>content_iik4870205</content></entry></data>

2022-06-27 22:45:22 | target: http://localhost:8088

2022-06-27 22:45:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-27 22:45:22 | entity: <data><node>node_43sewb0204</node><entry><content>content_iik4870205</content></entry></data>

2022-06-27 22:45:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Jun 2022 05:45:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-27 22:45:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6bf8c6ae-7ac9-4b3f-9bcc-40d2e475c01f</value></item-id></result>

2022-06-27 22:45:22 | contains: true

2022-06-27 22:45:22 | [Mutex] received everything.

2022-06-27 22:45:22 | [Mutex] isItemNotified: user_regular5v5ya50203@test-domain.com:message:received:content_iik4870205 :: true

2022-06-27 22:45:22 |


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


2022-06-27 22:45:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-27 22:45:22 | command: <data><node>node_43sewb0204</node><expire-at>2022-06-28T05:45:17Z</expire-at><entry><content>content_wjbrdu0206</content></entry></data>

2022-06-27 22:45:22 | target: http://localhost:8088

2022-06-27 22:45:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-27 22:45:22 | entity: <data><node>node_43sewb0204</node><expire-at>2022-06-28T05:45:17Z</expire-at><entry><content>content_wjbrdu0206</content></entry></data>

2022-06-27 22:45:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Jun 2022 05:45:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-27 22:45:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0a64e001-0c45-40de-878a-05e8b5be8cb4</value></item-id></result>

2022-06-27 22:45:22 | contains: true

2022-06-27 22:45:22 | [Mutex] waiting for: [user_regular5v5ya50203@test-domain.com:message:received:content_wjbrdu0206]

2022-06-27 22:45:37 | [Mutex] timeout. Not received [user_regular5v5ya50203@test-domain.com:message:received:content_wjbrdu0206]

2022-06-27 22:45:37 | [Mutex] isItemNotified: user_regular5v5ya50203@test-domain.com:message:received:content_wjbrdu0206 :: false

2022-06-27 22:45:37 |


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


2022-06-27 22:45:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-27 22:45:37 | command: <data><node>node_43sewb0204</node><entry><content>content_setaya0207</content></entry></data>

2022-06-27 22:45:37 | target: http://localhost:8088

2022-06-27 22:45:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-27 22:45:37 | entity: <data><node>node_43sewb0204</node><entry><content>content_setaya0207</content></entry></data>

2022-06-27 22:45:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Jun 2022 05:45:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-27 22:45:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>50b059e7-e71c-4f14-9f70-857bcad391bb</value></item-id></result>

2022-06-27 22:45:37 | contains: true

2022-06-27 22:45:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-27 22:45:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-06-27 22:45:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-27 22:45:42 | [Mutex] waiting for: [user_regular5v5ya50203@test-domain.com:message:received:content_setaya0207]

2022-06-27 22:45:42 | [Mutex] received everything.

2022-06-27 22:45:42 | [Mutex] isItemNotified: user_regular5v5ya50203@test-domain.com:message:received:content_setaya0207 :: true

2022-06-27 22:45:42 |


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


2022-06-27 22:45:42 | [Mutex] received everything.

2022-06-27 22:45:42 | [Mutex] isItemNotified: node_43sewb0204:subscribe_node:success :: true

2022-06-27 22:45:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-27 22:45:42 | command: <data><node>node_43sewb0204</node><expire-at>2022-06-28T05:45:47Z</expire-at><entry><content>content_dycvaq0208</content></entry></data>

2022-06-27 22:45:42 | target: http://localhost:8088

2022-06-27 22:45:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-27 22:45:42 | entity: <data><node>node_43sewb0204</node><expire-at>2022-06-28T05:45:47Z</expire-at><entry><content>content_dycvaq0208</content></entry></data>

2022-06-27 22:45:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Jun 2022 05:45:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-27 22:45:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f3f0acdd-2c12-4cc1-b72f-1bd2005516b1</value></item-id></result>

2022-06-27 22:45:42 | contains: true

2022-06-27 22:45:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-27 22:45:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-06-27 22:45:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-27 22:45:51 | [Mutex] waiting for: [user_regular5v5ya50203@test-domain.com:message:received:content_dycvaq0208]

2022-06-27 22:46:06 | [Mutex] timeout. Not received [user_regular5v5ya50203@test-domain.com:message:received:content_dycvaq0208]

2022-06-27 22:46:06 | [Mutex] received everything.

2022-06-27 22:46:06 | [Mutex] isItemNotified: user_regular5v5ya50203@test-domain.com:message:received:content_dycvaq0208 :: false

2022-06-27 22:46:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_dycvaq0208 :: true