Generated by TestNG with ReportNG at 22:30 PDT on Tuesday 05 July 2022
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.861s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.665s
2022-07-05 22:46:11 |

2022-07-05 22:46:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-05 22:46:11 | ------------------------------------

2022-07-05 22:46:11 | [Mutex] isItemNotified: node_enmrwl0204:exists :: false

2022-07-05 22:46:11 | [Mutex] waiting for: [node_enmrwl0204:create_node]

2022-07-05 22:46:11 | [Mutex] received everything.

2022-07-05 22:46:11 | [Mutex] isItemNotified: node_enmrwl0204:create_node:success :: true

2022-07-05 22:46:11 | [Mutex] waiting for: [node_enmrwl0204:subscribe_node]

2022-07-05 22:46:11 | [Mutex] received everything.

2022-07-05 22:46:11 | [Mutex] isItemNotified: node_enmrwl0204:subscribe_node:success :: true

2022-07-05 22:46:11 |


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


2022-07-05 22:46:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-05 22:46:11 | command: <data><node>node_enmrwl0204</node><entry><content>content_3905ht0205</content></entry></data>

2022-07-05 22:46:11 | target: http://localhost:8088

2022-07-05 22:46:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-05 22:46:11 | entity: <data><node>node_enmrwl0204</node><entry><content>content_3905ht0205</content></entry></data>

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

2022-07-05 22:46:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>03230919-9e39-4912-bf2b-4629018c43b6</value></item-id></result>

2022-07-05 22:46:11 | contains: true

2022-07-05 22:46:11 | [Mutex] waiting for: [user_regularm54l3m0203@test-domain.com:message:received:content_3905ht0205]

2022-07-05 22:46:11 | [Mutex] received everything.

2022-07-05 22:46:11 | [Mutex] isItemNotified: user_regularm54l3m0203@test-domain.com:message:received:content_3905ht0205 :: true

2022-07-05 22:46:11 |


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


2022-07-05 22:46:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-05 22:46:11 | command: <data><node>node_enmrwl0204</node><expire-at>2022-07-06T05:46:06Z</expire-at><entry><content>content_ob4moe0206</content></entry></data>

2022-07-05 22:46:11 | target: http://localhost:8088

2022-07-05 22:46:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-05 22:46:11 | entity: <data><node>node_enmrwl0204</node><expire-at>2022-07-06T05:46:06Z</expire-at><entry><content>content_ob4moe0206</content></entry></data>

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

2022-07-05 22:46:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>770e4d2c-6e1e-4e48-bf2e-e4b6b33a968a</value></item-id></result>

2022-07-05 22:46:11 | contains: true

2022-07-05 22:46:11 | [Mutex] waiting for: [user_regularm54l3m0203@test-domain.com:message:received:content_ob4moe0206]

2022-07-05 22:46:26 | [Mutex] timeout. Not received [user_regularm54l3m0203@test-domain.com:message:received:content_ob4moe0206]

2022-07-05 22:46:26 | [Mutex] isItemNotified: user_regularm54l3m0203@test-domain.com:message:received:content_ob4moe0206 :: false

2022-07-05 22:46:26 |


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


2022-07-05 22:46:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-05 22:46:26 | command: <data><node>node_enmrwl0204</node><entry><content>content_4qpi1y0207</content></entry></data>

2022-07-05 22:46:26 | target: http://localhost:8088

2022-07-05 22:46:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-05 22:46:26 | entity: <data><node>node_enmrwl0204</node><entry><content>content_4qpi1y0207</content></entry></data>

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

2022-07-05 22:46:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d5f211e1-c004-48af-82de-ece289b74c8c</value></item-id></result>

2022-07-05 22:46:26 | contains: true

2022-07-05 22:46:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-05 22:46:32 | [Mutex] waiting for: [user_regularm54l3m0203@test-domain.com:message:received:content_4qpi1y0207]

2022-07-05 22:46:32 | [Mutex] waiting for: [user_regularm54l3m0203@test-domain.com:message:received:content_4qpi1y0207]

2022-07-05 22:46:32 | [Mutex] received everything.

2022-07-05 22:46:32 | [Mutex] isItemNotified: user_regularm54l3m0203@test-domain.com:message:received:content_4qpi1y0207 :: true

2022-07-05 22:46:32 |


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


2022-07-05 22:46:32 | [Mutex] received everything.

2022-07-05 22:46:32 | [Mutex] isItemNotified: node_enmrwl0204:subscribe_node:success :: true

2022-07-05 22:46:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-05 22:46:32 | command: <data><node>node_enmrwl0204</node><expire-at>2022-07-06T05:46:37Z</expire-at><entry><content>content_eikbo40208</content></entry></data>

2022-07-05 22:46:32 | target: http://localhost:8088

2022-07-05 22:46:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-05 22:46:32 | entity: <data><node>node_enmrwl0204</node><expire-at>2022-07-06T05:46:37Z</expire-at><entry><content>content_eikbo40208</content></entry></data>

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

2022-07-05 22:46:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c9cca0a5-c223-479b-bd49-f7d44d3c4b93</value></item-id></result>

2022-07-05 22:46:32 | contains: true

2022-07-05 22:46:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-05 22:46:40 | [Mutex] waiting for: [user_regularm54l3m0203@test-domain.com:message:received:content_eikbo40208]

2022-07-05 22:46:40 | [Mutex] waiting for: [user_regularm54l3m0203@test-domain.com:message:received:content_eikbo40208]

2022-07-05 22:46:55 | [Mutex] timeout. Not received [user_regularm54l3m0203@test-domain.com:message:received:content_eikbo40208]

2022-07-05 22:46:55 | [Mutex] received everything.

2022-07-05 22:46:55 | [Mutex] isItemNotified: user_regularm54l3m0203@test-domain.com:message:received:content_eikbo40208 :: false

2022-07-05 22:46:55 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_eikbo40208 :: true