Generated by TestNG with ReportNG at 22:23 PDT on Friday 10 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.778s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.594s
2022-06-10 22:39:02 |

2022-06-10 22:39:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-10 22:39:02 | ------------------------------------

2022-06-10 22:39:02 | [Mutex] isItemNotified: node_nuwmk30204:exists :: false

2022-06-10 22:39:02 | [Mutex] waiting for: [node_nuwmk30204:create_node]

2022-06-10 22:39:02 | [Mutex] received everything.

2022-06-10 22:39:02 | [Mutex] isItemNotified: node_nuwmk30204:create_node:success :: true

2022-06-10 22:39:02 | [Mutex] waiting for: [node_nuwmk30204:subscribe_node]

2022-06-10 22:39:02 | [Mutex] received everything.

2022-06-10 22:39:02 | [Mutex] isItemNotified: node_nuwmk30204:subscribe_node:success :: true

2022-06-10 22:39:02 |


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


2022-06-10 22:39:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-10 22:39:02 | command: <data><node>node_nuwmk30204</node><entry><content>content_27ukts0205</content></entry></data>

2022-06-10 22:39:02 | target: http://localhost:8088

2022-06-10 22:39:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-10 22:39:02 | entity: <data><node>node_nuwmk30204</node><entry><content>content_27ukts0205</content></entry></data>

2022-06-10 22:39:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 11 Jun 2022 05:39:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-10 22:39:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f4e6ad10-59f8-42f3-b55b-98c16c542e3a</value></item-id></result>

2022-06-10 22:39:02 | contains: true

2022-06-10 22:39:02 | [Mutex] received everything.

2022-06-10 22:39:02 | [Mutex] isItemNotified: user_regularueqe0h0203@test-domain.com:message:received:content_27ukts0205 :: true

2022-06-10 22:39:02 |


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


2022-06-10 22:39:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-10 22:39:02 | command: <data><node>node_nuwmk30204</node><expire-at>2022-06-11T05:38:57Z</expire-at><entry><content>content_26rvai0206</content></entry></data>

2022-06-10 22:39:02 | target: http://localhost:8088

2022-06-10 22:39:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-10 22:39:02 | entity: <data><node>node_nuwmk30204</node><expire-at>2022-06-11T05:38:57Z</expire-at><entry><content>content_26rvai0206</content></entry></data>

2022-06-10 22:39:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 11 Jun 2022 05:39:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-10 22:39:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1b2c3555-c516-43c6-ae7d-bbb074a99272</value></item-id></result>

2022-06-10 22:39:02 | contains: true

2022-06-10 22:39:02 | [Mutex] waiting for: [user_regularueqe0h0203@test-domain.com:message:received:content_26rvai0206]

2022-06-10 22:39:17 | [Mutex] timeout. Not received [user_regularueqe0h0203@test-domain.com:message:received:content_26rvai0206]

2022-06-10 22:39:17 | [Mutex] isItemNotified: user_regularueqe0h0203@test-domain.com:message:received:content_26rvai0206 :: false

2022-06-10 22:39:17 |


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


2022-06-10 22:39:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-10 22:39:17 | command: <data><node>node_nuwmk30204</node><entry><content>content_9fggle0207</content></entry></data>

2022-06-10 22:39:17 | target: http://localhost:8088

2022-06-10 22:39:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-10 22:39:17 | entity: <data><node>node_nuwmk30204</node><entry><content>content_9fggle0207</content></entry></data>

2022-06-10 22:39:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 11 Jun 2022 05:39:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-10 22:39:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>238342c5-3caf-41cf-a93d-d590fbcbeda6</value></item-id></result>

2022-06-10 22:39:17 | contains: true

2022-06-10 22:39:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-10 22:39:23 | [Mutex] waiting for: [user_regularueqe0h0203@test-domain.com:message:received:content_9fggle0207]

2022-06-10 22:39:23 | [Mutex] received everything.

2022-06-10 22:39:23 | [Mutex] isItemNotified: user_regularueqe0h0203@test-domain.com:message:received:content_9fggle0207 :: true

2022-06-10 22:39:23 |


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


2022-06-10 22:39:23 | [Mutex] received everything.

2022-06-10 22:39:23 | [Mutex] isItemNotified: node_nuwmk30204:subscribe_node:success :: true

2022-06-10 22:39:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-10 22:39:23 | command: <data><node>node_nuwmk30204</node><expire-at>2022-06-11T05:39:28Z</expire-at><entry><content>content_drs6kf0208</content></entry></data>

2022-06-10 22:39:23 | target: http://localhost:8088

2022-06-10 22:39:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-10 22:39:23 | entity: <data><node>node_nuwmk30204</node><expire-at>2022-06-11T05:39:28Z</expire-at><entry><content>content_drs6kf0208</content></entry></data>

2022-06-10 22:39:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 11 Jun 2022 05:39:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-10 22:39:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5f8e23ed-5b9f-450e-b0f9-ff5f50cf35fa</value></item-id></result>

2022-06-10 22:39:23 | contains: true

2022-06-10 22:39:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-10 22:39:31 | [Mutex] waiting for: [user_regularueqe0h0203@test-domain.com:message:received:content_drs6kf0208]

2022-06-10 22:39:46 | [Mutex] timeout. Not received [user_regularueqe0h0203@test-domain.com:message:received:content_drs6kf0208]

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

2022-06-10 22:39:46 | [Mutex] isItemNotified: user_regularueqe0h0203@test-domain.com:message:received:content_drs6kf0208 :: false

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