Generated by TestNG with ReportNG at 22:49 PDT on Tuesday 05 July 2022
root@f9c07ffec79b / 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.956s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.601s
2022-07-05 23:04:05 |

2022-07-05 23:04:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-05 23:04:05 | ------------------------------------

2022-07-05 23:04:05 | [Mutex] isItemNotified: node_eytmxv0204:exists :: false

2022-07-05 23:04:05 | [Mutex] waiting for: [node_eytmxv0204:create_node]

2022-07-05 23:04:05 | [Mutex] waiting for: [node_eytmxv0204:create_node]

2022-07-05 23:04:05 | [Mutex] received everything.

2022-07-05 23:04:05 | [Mutex] isItemNotified: node_eytmxv0204:create_node:success :: true

2022-07-05 23:04:05 | [Mutex] waiting for: [node_eytmxv0204:subscribe_node]

2022-07-05 23:04:05 | [Mutex] waiting for: [node_eytmxv0204:subscribe_node]

2022-07-05 23:04:05 | [Mutex] received everything.

2022-07-05 23:04:05 | [Mutex] isItemNotified: node_eytmxv0204:subscribe_node:success :: true

2022-07-05 23:04:05 |


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


2022-07-05 23:04:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-05 23:04:05 | command: <data><node>node_eytmxv0204</node><entry><content>content_c06ugm0205</content></entry></data>

2022-07-05 23:04:05 | target: http://localhost:8088

2022-07-05 23:04:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-05 23:04:05 | entity: <data><node>node_eytmxv0204</node><entry><content>content_c06ugm0205</content></entry></data>

2022-07-05 23:04:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Jul 2022 06:04:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-05 23:04:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7cf2ea8c-978b-4ba9-a493-2eebf7f2ba5b</value></item-id></result>

2022-07-05 23:04:05 | contains: true

2022-07-05 23:04:05 | [Mutex] received everything.

2022-07-05 23:04:05 | [Mutex] isItemNotified: user_regular57x9y0203@test-domain.com:message:received:content_c06ugm0205 :: true

2022-07-05 23:04:05 |


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


2022-07-05 23:04:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-05 23:04:05 | command: <data><node>node_eytmxv0204</node><expire-at>2022-07-06T06:04:00Z</expire-at><entry><content>content_j1ihun0206</content></entry></data>

2022-07-05 23:04:05 | target: http://localhost:8088

2022-07-05 23:04:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-05 23:04:05 | entity: <data><node>node_eytmxv0204</node><expire-at>2022-07-06T06:04:00Z</expire-at><entry><content>content_j1ihun0206</content></entry></data>

2022-07-05 23:04:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Jul 2022 06:04:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-05 23:04:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>14b2017d-ef2d-4172-ace1-bee4d714610e</value></item-id></result>

2022-07-05 23:04:05 | contains: true

2022-07-05 23:04:05 | [Mutex] waiting for: [user_regular57x9y0203@test-domain.com:message:received:content_j1ihun0206]

2022-07-05 23:04:20 | [Mutex] timeout. Not received [user_regular57x9y0203@test-domain.com:message:received:content_j1ihun0206]

2022-07-05 23:04:20 | [Mutex] isItemNotified: user_regular57x9y0203@test-domain.com:message:received:content_j1ihun0206 :: false

2022-07-05 23:04:20 |


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


2022-07-05 23:04:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-05 23:04:20 | command: <data><node>node_eytmxv0204</node><entry><content>content_r08zqh0207</content></entry></data>

2022-07-05 23:04:20 | target: http://localhost:8088

2022-07-05 23:04:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-05 23:04:20 | entity: <data><node>node_eytmxv0204</node><entry><content>content_r08zqh0207</content></entry></data>

2022-07-05 23:04:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Jul 2022 06:04:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-05 23:04:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6b88c9b2-19c3-49bb-b1ba-55620d1a6588</value></item-id></result>

2022-07-05 23:04:20 | contains: true

2022-07-05 23:04:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-05 23:04:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-07-05 23:04:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-05 23:04:25 | [Mutex] waiting for: [user_regular57x9y0203@test-domain.com:message:received:content_r08zqh0207]

2022-07-05 23:04:25 | [Mutex] waiting for: [user_regular57x9y0203@test-domain.com:message:received:content_r08zqh0207]

2022-07-05 23:04:25 | [Mutex] received everything.

2022-07-05 23:04:25 | [Mutex] isItemNotified: user_regular57x9y0203@test-domain.com:message:received:content_r08zqh0207 :: true

2022-07-05 23:04:25 |


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


2022-07-05 23:04:25 | [Mutex] received everything.

2022-07-05 23:04:25 | [Mutex] isItemNotified: node_eytmxv0204:subscribe_node:success :: true

2022-07-05 23:04:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-05 23:04:25 | command: <data><node>node_eytmxv0204</node><expire-at>2022-07-06T06:04:30Z</expire-at><entry><content>content_7y0wkj0208</content></entry></data>

2022-07-05 23:04:25 | target: http://localhost:8088

2022-07-05 23:04:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-05 23:04:25 | entity: <data><node>node_eytmxv0204</node><expire-at>2022-07-06T06:04:30Z</expire-at><entry><content>content_7y0wkj0208</content></entry></data>

2022-07-05 23:04:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Jul 2022 06:04:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-05 23:04:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9258d123-0db2-454b-ac27-0a23caf5c4c1</value></item-id></result>

2022-07-05 23:04:25 | contains: true

2022-07-05 23:04:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-05 23:04:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-07-05 23:04:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-05 23:04:33 | [Mutex] waiting for: [user_regular57x9y0203@test-domain.com:message:received:content_7y0wkj0208]

2022-07-05 23:04:33 | [Mutex] waiting for: [user_regular57x9y0203@test-domain.com:message:received:content_7y0wkj0208]

2022-07-05 23:04:33 | [Mutex] waiting for: [user_regular57x9y0203@test-domain.com:message:received:content_7y0wkj0208]

2022-07-05 23:04:48 | [Mutex] timeout. Not received [user_regular57x9y0203@test-domain.com:message:received:content_7y0wkj0208]

2022-07-05 23:04:48 | [Mutex] received everything.

2022-07-05 23:04:48 | [Mutex] isItemNotified: user_regular57x9y0203@test-domain.com:message:received:content_7y0wkj0208 :: false

2022-07-05 23:04:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7y0wkj0208 :: true