Generated by TestNG with ReportNG at 22:20 PDT on Tuesday 21 June 2022
root@21fb2cc9076b / 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.547s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.623s
2022-06-21 22:35:35 |

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

2022-06-21 22:35:35 | ------------------------------------

2022-06-21 22:35:35 | [Mutex] isItemNotified: node_1u81tw0204:exists :: false

2022-06-21 22:35:35 | [Mutex] waiting for: [node_1u81tw0204:create_node]

2022-06-21 22:35:35 | [Mutex] received everything.

2022-06-21 22:35:35 | [Mutex] isItemNotified: node_1u81tw0204:create_node:success :: true

2022-06-21 22:35:35 | [Mutex] waiting for: [node_1u81tw0204:subscribe_node]

2022-06-21 22:35:35 | [Mutex] waiting for: [node_1u81tw0204:subscribe_node]

2022-06-21 22:35:35 | [Mutex] received everything.

2022-06-21 22:35:35 | [Mutex] isItemNotified: node_1u81tw0204:subscribe_node:success :: true

2022-06-21 22:35:35 |


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


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

2022-06-21 22:35:35 | command: <data><node>node_1u81tw0204</node><entry><content>content_2cpvv40205</content></entry></data>

2022-06-21 22:35:35 | target: http://localhost:8088

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

2022-06-21 22:35:35 | entity: <data><node>node_1u81tw0204</node><entry><content>content_2cpvv40205</content></entry></data>

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

2022-06-21 22:35:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4f62cd3b-e801-4af3-aac6-760e24809906</value></item-id></result>

2022-06-21 22:35:35 | contains: true

2022-06-21 22:35:35 | [Mutex] received everything.

2022-06-21 22:35:35 | [Mutex] isItemNotified: user_regularbm1pje0203@test-domain.com:message:received:content_2cpvv40205 :: true

2022-06-21 22:35:35 |


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


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

2022-06-21 22:35:35 | command: <data><node>node_1u81tw0204</node><expire-at>2022-06-22T05:35:30Z</expire-at><entry><content>content_y692f60206</content></entry></data>

2022-06-21 22:35:35 | target: http://localhost:8088

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

2022-06-21 22:35:35 | entity: <data><node>node_1u81tw0204</node><expire-at>2022-06-22T05:35:30Z</expire-at><entry><content>content_y692f60206</content></entry></data>

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

2022-06-21 22:35:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7c3e782a-e314-47cd-961d-156ec5a5973a</value></item-id></result>

2022-06-21 22:35:35 | contains: true

2022-06-21 22:35:35 | [Mutex] waiting for: [user_regularbm1pje0203@test-domain.com:message:received:content_y692f60206]

2022-06-21 22:35:50 | [Mutex] timeout. Not received [user_regularbm1pje0203@test-domain.com:message:received:content_y692f60206]

2022-06-21 22:35:50 | [Mutex] isItemNotified: user_regularbm1pje0203@test-domain.com:message:received:content_y692f60206 :: false

2022-06-21 22:35:50 |


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


2022-06-21 22:35:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-21 22:35:51 | command: <data><node>node_1u81tw0204</node><entry><content>content_s9writ0207</content></entry></data>

2022-06-21 22:35:51 | target: http://localhost:8088

2022-06-21 22:35:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-21 22:35:51 | entity: <data><node>node_1u81tw0204</node><entry><content>content_s9writ0207</content></entry></data>

2022-06-21 22:35:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Jun 2022 05:35:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-21 22:35:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a02ef1c3-3ac9-441f-8706-9be068edd781</value></item-id></result>

2022-06-21 22:35:51 | contains: true

2022-06-21 22:35:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-21 22:35:56 | [Mutex] waiting for: [user_regularbm1pje0203@test-domain.com:message:received:content_s9writ0207]

2022-06-21 22:35:56 | [Mutex] received everything.

2022-06-21 22:35:56 | [Mutex] isItemNotified: user_regularbm1pje0203@test-domain.com:message:received:content_s9writ0207 :: true

2022-06-21 22:35:56 |


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


2022-06-21 22:35:56 | [Mutex] received everything.

2022-06-21 22:35:56 | [Mutex] isItemNotified: node_1u81tw0204:subscribe_node:success :: true

2022-06-21 22:35:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-21 22:35:56 | command: <data><node>node_1u81tw0204</node><expire-at>2022-06-22T05:36:01Z</expire-at><entry><content>content_qv47ap0208</content></entry></data>

2022-06-21 22:35:56 | target: http://localhost:8088

2022-06-21 22:35:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-21 22:35:56 | entity: <data><node>node_1u81tw0204</node><expire-at>2022-06-22T05:36:01Z</expire-at><entry><content>content_qv47ap0208</content></entry></data>

2022-06-21 22:35:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Jun 2022 05:35:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-21 22:35:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>da21f6ee-2417-4cc5-9081-aea51b037d17</value></item-id></result>

2022-06-21 22:35:56 | contains: true

2022-06-21 22:36:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-21 22:36:04 | [Mutex] waiting for: [user_regularbm1pje0203@test-domain.com:message:received:content_qv47ap0208]

2022-06-21 22:36:19 | [Mutex] timeout. Not received [user_regularbm1pje0203@test-domain.com:message:received:content_qv47ap0208]

2022-06-21 22:36:19 | [Mutex] received everything.

2022-06-21 22:36:19 | [Mutex] isItemNotified: user_regularbm1pje0203@test-domain.com:message:received:content_qv47ap0208 :: false

2022-06-21 22:36:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qv47ap0208 :: true