Generated by TestNG with ReportNG at 22:16 PDT on Monday 31 July 2023
root@f44fc83e2390 / Java 17.0.7 (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.532s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.685s
2023-07-31 22:31:30 |

2023-07-31 22:31:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-31 22:31:30 | ------------------------------------

2023-07-31 22:31:30 | [Mutex] isItemNotified: node_4pkrp50208:exists :: false

2023-07-31 22:31:30 | [Mutex] waiting for: [node_4pkrp50208:create_node]

2023-07-31 22:31:30 | [Mutex] waiting for: [node_4pkrp50208:create_node]

2023-07-31 22:31:30 | [Mutex] received everything.

2023-07-31 22:31:30 | [Mutex] isItemNotified: node_4pkrp50208:create_node:success :: true

2023-07-31 22:31:30 | [Mutex] waiting for: [node_4pkrp50208:subscribe_node]

2023-07-31 22:31:30 | [Mutex] waiting for: [node_4pkrp50208:subscribe_node]

2023-07-31 22:31:30 | [Mutex] received everything.

2023-07-31 22:31:30 | [Mutex] isItemNotified: node_4pkrp50208:subscribe_node:success :: true

2023-07-31 22:31:30 |


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


2023-07-31 22:31:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-31 22:31:30 | command: <data><node>node_4pkrp50208</node><entry><content>content_e7ah2k0209</content></entry></data>

2023-07-31 22:31:30 | target: http://localhost:8088

2023-07-31 22:31:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-31 22:31:30 | entity: <data><node>node_4pkrp50208</node><entry><content>content_e7ah2k0209</content></entry></data>

2023-07-31 22:31:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Aug 2023 05:31:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-31 22:31:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>69493873-5f3f-4576-89c7-110695a55217</value></item-id></result>

2023-07-31 22:31:30 | contains: true

2023-07-31 22:31:30 | [Mutex] received everything.

2023-07-31 22:31:30 | [Mutex] isItemNotified: user_regularnfbedp0207@test-domain.com:message:received:content_e7ah2k0209 :: true

2023-07-31 22:31:30 |


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


2023-07-31 22:31:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-31 22:31:30 | command: <data><node>node_4pkrp50208</node><expire-at>2023-08-01T05:31:25Z</expire-at><entry><content>content_mx8hu00210</content></entry></data>

2023-07-31 22:31:30 | target: http://localhost:8088

2023-07-31 22:31:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-31 22:31:30 | entity: <data><node>node_4pkrp50208</node><expire-at>2023-08-01T05:31:25Z</expire-at><entry><content>content_mx8hu00210</content></entry></data>

2023-07-31 22:31:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Aug 2023 05:31:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-31 22:31:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ca2bee93-0974-437d-8d22-26cdca9ba20d</value></item-id></result>

2023-07-31 22:31:30 | contains: true

2023-07-31 22:31:30 | [Mutex] waiting for: [user_regularnfbedp0207@test-domain.com:message:received:content_mx8hu00210]

2023-07-31 22:31:45 | [Mutex] timeout. Not received [user_regularnfbedp0207@test-domain.com:message:received:content_mx8hu00210]

2023-07-31 22:31:45 | [Mutex] isItemNotified: user_regularnfbedp0207@test-domain.com:message:received:content_mx8hu00210 :: false

2023-07-31 22:31:45 |


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


2023-07-31 22:31:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-31 22:31:45 | command: <data><node>node_4pkrp50208</node><entry><content>content_z8xwd60211</content></entry></data>

2023-07-31 22:31:45 | target: http://localhost:8088

2023-07-31 22:31:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-31 22:31:45 | entity: <data><node>node_4pkrp50208</node><entry><content>content_z8xwd60211</content></entry></data>

2023-07-31 22:31:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Aug 2023 05:31:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-31 22:31:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>94328321-8340-4fdf-84b8-abae3bce9a32</value></item-id></result>

2023-07-31 22:31:45 | contains: true

2023-07-31 22:31:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-07-31 22:31:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-31 22:31:50 | [Mutex] waiting for: [user_regularnfbedp0207@test-domain.com:message:received:content_z8xwd60211]

2023-07-31 22:31:50 | [Mutex] received everything.

2023-07-31 22:31:50 | [Mutex] isItemNotified: user_regularnfbedp0207@test-domain.com:message:received:content_z8xwd60211 :: true

2023-07-31 22:31:50 |


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


2023-07-31 22:31:50 | [Mutex] received everything.

2023-07-31 22:31:50 | [Mutex] isItemNotified: node_4pkrp50208:subscribe_node:success :: true

2023-07-31 22:31:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-31 22:31:50 | command: <data><node>node_4pkrp50208</node><expire-at>2023-08-01T05:31:55Z</expire-at><entry><content>content_8pdgaw0212</content></entry></data>

2023-07-31 22:31:50 | target: http://localhost:8088

2023-07-31 22:31:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-31 22:31:50 | entity: <data><node>node_4pkrp50208</node><expire-at>2023-08-01T05:31:55Z</expire-at><entry><content>content_8pdgaw0212</content></entry></data>

2023-07-31 22:31:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Aug 2023 05:31:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-31 22:31:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>874b5aac-7124-4b63-8e11-5ad8f4cb9811</value></item-id></result>

2023-07-31 22:31:50 | contains: true

2023-07-31 22:31:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-07-31 22:31:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-31 22:31:58 | [Mutex] waiting for: [user_regularnfbedp0207@test-domain.com:message:received:content_8pdgaw0212]

2023-07-31 22:32:13 | [Mutex] timeout. Not received [user_regularnfbedp0207@test-domain.com:message:received:content_8pdgaw0212]

2023-07-31 22:32:13 | [Mutex] received everything.

2023-07-31 22:32:13 | [Mutex] isItemNotified: user_regularnfbedp0207@test-domain.com:message:received:content_8pdgaw0212 :: false

2023-07-31 22:32:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8pdgaw0212 :: true