incubator-hise-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r.@apache.org
Subject svn commit: r984734 - in /incubator/hise/trunk: hise-services/src/main/java/org/apache/hise/dao/ hise-services/src/main/java/org/apache/hise/engine/ hise-services/src/main/java/org/apache/hise/engine/jaxws/ hise-services/src/test/java/org/apache/hise/ ...
Date Thu, 12 Aug 2010 12:11:10 GMT
Author: rr
Date: Thu Aug 12 12:11:10 2010
New Revision: 984734

URL: http://svn.apache.org/viewvc?rev=984734&view=rev
Log:
HISE-59: Working queues (implementation thanks to Michał Więcław)

Modified:
    incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/dao/HISEDao.java
    incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/TaskChecker.java
    incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/jaxws/TaskOperationsImpl.java
    incubator/hise/trunk/hise-services/src/test/java/org/apache/hise/DaoTest.java
    incubator/hise/trunk/hise-services/src/test/java/org/apache/hise/TaskCreationHelper.java
    incubator/hise/trunk/hise-test-example-osgi/src/main/resources/testHtd1.xml
    incubator/hise/trunk/itest/filtering.xml

Modified: incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/dao/HISEDao.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/dao/HISEDao.java?rev=984734&r1=984733&r2=984734&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/dao/HISEDao.java (original)
+++ incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/dao/HISEDao.java Thu Aug 12 12:11:10 2010
@@ -22,6 +22,7 @@ package org.apache.hise.dao;
 import java.text.DateFormat;
 import java.text.ParseException;
 import java.text.SimpleDateFormat;
+import java.util.ArrayList;
 import java.util.Date;
 import java.util.List;
 import java.util.StringTokenizer;
@@ -76,9 +77,11 @@ public class HISEDao extends JpaDaoSuppo
                     Validate.notNull(em);
    
                     
-                    return buildSQLQueryForTaskQuery( query, em).setMaxResults(query.getMaxTasks())
-                    .getResultList();
-                    
+                    List<Task> tasks = buildSQLQueryForTaskQuery( query, em).setMaxResults(query.getMaxTasks()).getResultList();
+                    if(query.getWorkQueue() != null && !query.getWorkQueue().equals("")){
+                    	tasks = taskFilterByQuery(tasks, query);
+                    }
+                    return tasks;
                 }
 
 
@@ -92,6 +95,8 @@ public class HISEDao extends JpaDaoSuppo
 		//q.add(new JQBParam("user", query.getUser()));
 		if(addStatuses(q, query))
 			q.add(" and ");
+		if(addOrgEntity(q, query))
+			q.add(" and ");
 		if(addGenericHumanRole(q, query))
 			q.add(" and ");
 		if(addCreatedOnClause(q, query))
@@ -100,11 +105,35 @@ public class HISEDao extends JpaDaoSuppo
 			if(q.size()>1) q.setSize(q.size()-1);
 		q.add(" order by t.id");
 		
-		return new JpaQueryBuilder().buildQuery(em, q.toArray());
-
-		
+		return new JpaQueryBuilder().buildQuery(em, q.toArray());	
 	}
     
+	private static boolean addOrgEntity(Vector<Object> q, TaskQuery query){
+		if(query.getGenericHumanRole() != null && query.getGenericHumanRole().equals(GenericHumanRole.ACTUALOWNER)){
+			return false;
+		}
+
+		//solution without permissions. Searches are all tasks within the group.
+		if(query.getWorkQueue() == null || query.getWorkQueue().equals("")){
+			q.add(" e.task = t and (e.name = :user and e.type = :constUser");
+			q.add(new JQBParam("user", query.getUser()));
+			q.add(new JQBParam("constUser", TaskOrgEntity.OrgEntityType.USER));
+			q.add( new JQBParam("groups", query.getUserGroups(), 
+				new Object[] {
+                	" or e.name in (:groups) and e.type = :constGroup", 
+                	new JQBParam("constGroup", TaskOrgEntity.OrgEntityType.GROUP)
+            	}));
+		}else{
+				//if workQueue is defined
+			q.add(" e.task = t and (e.name = :workQueue and e.type = :constUser");
+			q.add(new JQBParam("workQueue", query.getWorkQueue()));
+			q.add(new JQBParam("constUser", TaskOrgEntity.OrgEntityType.GROUP));
+		}	
+		q.add(") ");
+		return true;
+		
+	}
+	
 	private static boolean addWhereClause(Vector<Object> q, TaskQuery query) {
 		String clause=query.getWhereClause();
     	if(clause==null) return false;
@@ -116,27 +145,22 @@ public class HISEDao extends JpaDaoSuppo
         if(query.getGenericHumanRole()==null) return false;
         switch (query.getGenericHumanRole()) {
         case ACTUALOWNER:
+        	if(query.getWorkQueue() == null || query.getWorkQueue().equals("")){
         			q.add(" t.actualOwner = :user");
         			q.add(new JQBParam("user", query.getUser()));
-        			return true;
+        	}else{
+        			q.add(" t.actualOwner = :workQueue");
+        			q.add(new JQBParam("workQueue", query.getWorkQueue()));
+        	}
+        	return true;
         case POTENTIALOWNERS:
         case BUSINESSADMINISTRATORS:
         case EXCLUDEDOWNERS:
         case TASKSTAKEHOLDERS:
-
-                            q.add(" e.task = t and (e.name = :user and e.type = :constUser");
-                            q.add(new JQBParam("user", query.getUser()));
-                            q.add(new JQBParam("constUser", TaskOrgEntity.OrgEntityType.USER));
-                            q.add( new JQBParam("groups", query.getUserGroups(), 
-                                new Object[] {
-                                    " or e.name in (:groups) and e.type = :constGroup", 
-                                    new JQBParam("constGroup", TaskOrgEntity.OrgEntityType.GROUP)
-                                }));
-                                
-                            q.add(") and e.genericHumanRole = :role");
-                            q.add(new JQBParam("role", query.getGenericHumanRole()));
-                            return true;
-   
+                     q.add("e.genericHumanRole = :role");
+                     q.add(new JQBParam("role", query.getGenericHumanRole()));
+                     return true;
+                            
         default:
             throw new IllegalStateException("generic human role not supported");
         }
@@ -250,5 +274,19 @@ public class HISEDao extends JpaDaoSuppo
 		return (List)result;
 	
 	}
+	
+	private List<Task> taskFilterByQuery(List<Task> tasks, TaskQuery query){
+    	query.setWorkQueue(null);
+    	query.setGenericHumanRole(null);
+    	List<org.apache.hise.dao.Task> taskWithPossibleAccess = getUserTasks(query);
+    	List<org.apache.hise.dao.Task> filteredTasks = new ArrayList<org.apache.hise.dao.Task>();
+    	
+    	for(org.apache.hise.dao.Task i : tasks){
+    		if(taskWithPossibleAccess.contains(i)){
+    			filteredTasks.add(i);
+    		}
+    	}
+    	return filteredTasks;
+    }
 
 }

Modified: incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/TaskChecker.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/TaskChecker.java?rev=984734&r1=984733&r2=984734&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/TaskChecker.java (original)
+++ incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/TaskChecker.java Thu Aug 12 12:11:10 2010
@@ -155,12 +155,15 @@ public class TaskChecker {
 					return;
 				else throw new IllegalAccessFault("Illegal access to operations");
 				
-				//conditions: none conditions 
+				//conditions: any 
 			case GET_RENDERING:
 			case GET_RENDERING_TYPES:
 			case GET_TASK_INFO:
 			case GET_TASK_DESCRIPTION:
-				return;
+				humanRoles.remove(GenericHumanRole.POTENTIALDELEGATEES);
+				if(humanRoles.size() > 0)
+					return;
+				else throw new IllegalAccessFault("Illegal access to operations");
 		}
 	}
 	

Modified: incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/jaxws/TaskOperationsImpl.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/jaxws/TaskOperationsImpl.java?rev=984734&r1=984733&r2=984734&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/jaxws/TaskOperationsImpl.java (original)
+++ incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/jaxws/TaskOperationsImpl.java Thu Aug 12 12:11:10 2010
@@ -240,6 +240,7 @@ public class TaskOperationsImpl implemen
         }
 
         List<org.apache.hise.dao.Task> tasks = hiseEngine.getHiseDao().getUserTasks(query);
+   
         for (org.apache.hise.dao.Task u : tasks) {
             TTask t = null;
 
@@ -1243,6 +1244,7 @@ public class TaskOperationsImpl implemen
         }
 
         List<org.apache.hise.dao.Task> tasks = hiseEngine.getHiseDao().getUserTasks(query);
+    
         for (org.apache.hise.dao.Task u : tasks) {
         	TTaskAbstract t = convertTasktoTTaskAbstract(u.getId());
             result.add(t);
@@ -1381,6 +1383,8 @@ public class TaskOperationsImpl implemen
         return result;
     }
     
+    
+    
     /**
      * TODO extract converters to external class
      * @param taskDto

Modified: incubator/hise/trunk/hise-services/src/test/java/org/apache/hise/DaoTest.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/test/java/org/apache/hise/DaoTest.java?rev=984734&r1=984733&r2=984734&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/test/java/org/apache/hise/DaoTest.java (original)
+++ incubator/hise/trunk/hise-services/src/test/java/org/apache/hise/DaoTest.java Thu Aug 12 12:11:10 2010
@@ -4,7 +4,9 @@ import java.sql.Connection;
 import java.sql.ResultSet;
 import java.sql.Statement;
 import java.util.ArrayList;
+import java.util.Collection;
 import java.util.Date;
+import java.util.HashSet;
 import java.util.List;
 
 import javax.persistence.EntityManager;
@@ -23,6 +25,7 @@ import org.apache.hise.dao.OrgEntity;
 import org.apache.hise.dao.Task;
 import org.apache.hise.dao.Task.Status;
 import org.apache.hise.dao.TaskQuery;
+import org.h2.command.dml.Set;
 import org.junit.Assert;
 import org.junit.Test;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -106,6 +109,90 @@ public class DaoTest extends AbstractJUn
         });
     }
 
+    @Test
+    public void testWorkQueue() throws Exception {
+    	TransactionTemplate tt = new TransactionTemplate(transactionManager);
+    	taskHelper.addTaskInTransaction(TaskType.ADD_USERS, tt, hiseDao);
+        taskHelper.addTaskInTransaction(TaskType.TASK6, tt, hiseDao);
+        taskHelper.addTaskInTransaction(TaskType.TASK5, tt, hiseDao);
+        taskHelper.addTaskInTransaction(TaskType.TASK4, tt, hiseDao);
+        
+        tt.execute(new TransactionCallback() {
+            public Object doInTransaction(TransactionStatus arg0) {
+                try {
+                    TaskQuery query = new TaskQuery();
+                    
+                    query.setUser(TaskCreationHelper.USERS_NAMES[0]);
+                    Collection<String> userGroup = new HashSet<String>(); 
+                    userGroup.add(TaskCreationHelper.GROUPS_NAMES[0]);
+                    query.setUserGroups(userGroup);
+                    query.setGenericHumanRole(null);
+                    query.setWorkQueue(TaskCreationHelper.GROUPS_NAMES[0]);
+                    List<Task> r = hiseDao.getUserTasks(query);
+                    Assert.assertEquals(1, r.size());
+                    return null;
+                } catch (Exception e) {
+                    throw new RuntimeException(e);
+                }
+            }
+        });
+        
+        tt.execute(new TransactionCallback() {
+            public Object doInTransaction(TransactionStatus arg0) {
+                try {
+                    TaskQuery query = new TaskQuery();
+                    
+                    query.setUser(TaskCreationHelper.USERS_NAMES[0]);
+                    Collection<String> userGroup = new HashSet<String>(); 
+                    userGroup.add(TaskCreationHelper.GROUPS_NAMES[0]);
+                    query.setUserGroups(userGroup);
+                    query.setGenericHumanRole(null);
+                    query.setWorkQueue(TaskCreationHelper.GROUPS_NAMES[1]);
+                    List<Task> r = hiseDao.getUserTasks(query);
+                    Assert.assertEquals(2, r.size());
+                    return null;
+                } catch (Exception e) {
+                    throw new RuntimeException(e);
+                }
+            }
+        });
+        
+        tt.execute(new TransactionCallback() {
+            public Object doInTransaction(TransactionStatus arg0) {
+                try {
+                    TaskQuery query = new TaskQuery();
+                    
+                    query.setUser(TaskCreationHelper.USERS_NAMES[2]);
+                    query.setGenericHumanRole(null);
+                    query.setWorkQueue(TaskCreationHelper.GROUPS_NAMES[0]);
+                    List<Task> r = hiseDao.getUserTasks(query);
+                    Assert.assertEquals(0, r.size());
+                    return null;
+                } catch (Exception e) {
+                    throw new RuntimeException(e);
+                }
+            }
+        });
+        
+        tt.execute(new TransactionCallback() {
+            public Object doInTransaction(TransactionStatus arg0) {
+                try {
+                    TaskQuery query = new TaskQuery();
+                    
+                    query.setUser(TaskCreationHelper.USERS_NAMES[2]);
+                    query.setGenericHumanRole(null);
+                    query.setWorkQueue(TaskCreationHelper.GROUPS_NAMES[1]);
+                    List<Task> r = hiseDao.getUserTasks(query);
+                    Assert.assertEquals(2, r.size());
+                    return null;
+                } catch (Exception e) {
+                    throw new RuntimeException(e);
+                }
+            }
+        });
+        
+        taskHelper.addTaskInTransaction(TaskType.CLEAN_ALL, tt, hiseDao);
+    }
     
     @Test
     public void testInputs() throws Exception {

Modified: incubator/hise/trunk/hise-services/src/test/java/org/apache/hise/TaskCreationHelper.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/test/java/org/apache/hise/TaskCreationHelper.java?rev=984734&r1=984733&r2=984734&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/test/java/org/apache/hise/TaskCreationHelper.java (original)
+++ incubator/hise/trunk/hise-services/src/test/java/org/apache/hise/TaskCreationHelper.java Thu Aug 12 12:11:10 2010
@@ -20,7 +20,7 @@ import org.springframework.transaction.s
 public class TaskCreationHelper {
 	
 	public enum TaskType {
-		TASK1, TASK2, TASK3
+		TASK1, TASK2, TASK3, TASK4, TASK5, TASK6, ADD_USERS, CLEAN_ALL
 	}
 	
 	public static String TASK1_GROUP = "group1";
@@ -38,6 +38,12 @@ public class TaskCreationHelper {
 	public static String TASK3_ASSIGNED_GROUP = "group1";
 	public static String TASK3_DEFINITION_KEY = "asd3";
 	
+	public static String[] USERS_NAMES = {"user_1","user_2","user_3"};
+	public static String[] GROUPS_NAMES = {"group_1","group_2"};
+	
+	public static String TASK4_DEFINITION_KEY = "asd4";
+	public static String TASK5_DEFINITION_KEY = "asd5";
+	public static String TASK6_DEFINITION_KEY = "asd6";
 	
 	private void cleanup(HISEDao hiseDao) throws Exception {
         hiseDao.clearAllRecords(OrgEntity.class);
@@ -91,7 +97,7 @@ public class TaskCreationHelper {
         t.setPeopleAssignments(pa);
         hiseDao.persist(t);
     }
-
+    
     public void addTask3(HISEDao hiseDao) throws Exception {
         addTask(hiseDao);
         Task t = new Task();
@@ -108,22 +114,171 @@ public class TaskCreationHelper {
         hiseDao.persist(t);
     }
     
+    public void addSomeUsers(HISEDao hiseDao){
+    	OrgEntity[] users = new OrgEntity[3];
+    	OrgEntity[] groups = new OrgEntity[2];
+    	
+    	for(int i = 0; i < 3; i++){
+    		users[i] = new OrgEntity();
+            users[i].setName(USERS_NAMES[i]);
+            users[i].setType(OrgEntityType.USER);
+            users[i].setUserPassword(USERS_NAMES[i]);
+    	}
+    	
+    	for(int i = 0; i < 2; i++){
+    		groups[i] = new OrgEntity();
+    		groups[i].setName(GROUPS_NAMES[i]);
+    		groups[i].setType(OrgEntityType.GROUP);
+    		groups[i].setUserPassword(GROUPS_NAMES[i]);
+    	}
+    	users[0].addToGroup(groups[0]);
+    	users[1].addToGroup(groups[1]);
+
+    	for(int i = 0; i < 2; i++){
+    		hiseDao.persist(groups[i]);
+    	}
+    	for(int i = 0; i < 3; i++){
+    		hiseDao.persist(users[i]);
+    	}
+    	
+    	                        
+    }
+    
+    public void addTask4(HISEDao hiseDao) throws Exception {
+    	//addTask(hiseDao);
+        Task t = new Task();
+        t.setStatus(Status.READY);
+        t.setTaskDefinitionKey(TASK4_DEFINITION_KEY);
+        
+        Set<TaskOrgEntity> pa = new HashSet<TaskOrgEntity>();
+        TaskOrgEntity[] user = new TaskOrgEntity[3];
+        TaskOrgEntity[] group = new TaskOrgEntity[2];
+        for(int i = 0; i < 3; i++){
+        	user[i] = new TaskOrgEntity();
+        	user[i].setType(OrgEntityType.USER);
+        	user[i].setName(USERS_NAMES[i]);
+        	user[i].setTask(t);
+        }
+        for(int i = 0; i < 2; i++){
+        	group[i] = new TaskOrgEntity();
+        	group[i].setType(OrgEntityType.GROUP);
+        	group[i].setName(GROUPS_NAMES[i]);
+        	group[i].setTask(t);
+        }
+        
+        //set role
+        user[0].setGenericHumanRole(GenericHumanRole.POTENTIALOWNERS);
+        user[1].setGenericHumanRole(GenericHumanRole.BUSINESSADMINISTRATORS);
+        user[2].setGenericHumanRole(GenericHumanRole.TASKSTAKEHOLDERS);
+        group[1].setGenericHumanRole(GenericHumanRole.POTENTIALOWNERS);
+         
+        pa.add(user[0]);
+        pa.add(user[1]);
+        pa.add(user[2]);
+        pa.add(group[1]);
+        t.setPeopleAssignments(pa);
+        hiseDao.persist(t);
+    }
+    
+    public void addTask5(HISEDao hiseDao) throws Exception {
+    	//addTask(hiseDao);
+        Task t = new Task();
+        t.setStatus(Status.READY);
+        t.setTaskDefinitionKey(TASK5_DEFINITION_KEY);
+        
+        Set<TaskOrgEntity> pa = new HashSet<TaskOrgEntity>();
+        TaskOrgEntity[] user = new TaskOrgEntity[3];
+        TaskOrgEntity[] group = new TaskOrgEntity[2];
+        for(int i = 0; i < 3; i++){
+        	user[i] = new TaskOrgEntity();
+        	user[i].setType(OrgEntityType.USER);
+        	user[i].setName(USERS_NAMES[i]);
+        	user[i].setTask(t);
+        }
+        for(int i = 0; i < 2; i++){
+        	group[i] = new TaskOrgEntity();
+        	group[i].setType(OrgEntityType.GROUP);
+        	group[i].setName(GROUPS_NAMES[i]);
+        	group[i].setTask(t);
+        }
+        
+        //set role
+        group[0].setGenericHumanRole(GenericHumanRole.POTENTIALOWNERS);
+        group[1].setGenericHumanRole(GenericHumanRole.BUSINESSADMINISTRATORS);
+         
+        pa.add(group[0]);
+        pa.add(group[1]);
+        t.setPeopleAssignments(pa);
+        hiseDao.persist(t);
+    }
+    
+    public void addTask6(HISEDao hiseDao) throws Exception {
+    	//addTask(hiseDao);
+        Task t = new Task();
+        t.setStatus(Status.READY);
+        t.setTaskDefinitionKey(TASK6_DEFINITION_KEY);
+        
+        Set<TaskOrgEntity> pa = new HashSet<TaskOrgEntity>();
+        TaskOrgEntity[] user = new TaskOrgEntity[3];
+        TaskOrgEntity[] group = new TaskOrgEntity[2];
+        for(int i = 0; i < 3; i++){
+        	user[i] = new TaskOrgEntity();
+        	user[i].setType(OrgEntityType.USER);
+        	user[i].setName(USERS_NAMES[i]);
+        	user[i].setTask(t);
+        }
+        for(int i = 0; i < 2; i++){
+        	group[i] = new TaskOrgEntity();
+        	group[i].setType(OrgEntityType.GROUP);
+        	group[i].setName(GROUPS_NAMES[i]);
+        	group[i].setTask(t);
+        }
+        
+        //set role
+        user[1].setGenericHumanRole(GenericHumanRole.POTENTIALOWNERS);
+        user[2].setGenericHumanRole(GenericHumanRole.POTENTIALOWNERS);
+        group[1].setGenericHumanRole(GenericHumanRole.TASKSTAKEHOLDERS);
+
+        pa.add(user[1]);
+        pa.add(user[2]);
+        pa.add(group[1]);
+        t.setPeopleAssignments(pa);
+        hiseDao.persist(t);
+    }
+    
     public Long addTaskInTransaction(final TaskType taskType, TransactionTemplate tt, final HISEDao hiseDao) {
     	Long tid = (Long) tt.execute(new TransactionCallback() {
             public Object doInTransaction(TransactionStatus arg0) {
                 try {
-                	cleanup(hiseDao);
+                	
                 	Long tid = null;
                     switch(taskType) {
                     	case TASK1:
+                    		cleanup(hiseDao);
                     		tid = addTask(hiseDao);
                     		break;
                     	case TASK2:
+                    		cleanup(hiseDao);
                     		addTask2(hiseDao);
                     		break;
                     	case TASK3:
+                    		cleanup(hiseDao);
                     		addTask3(hiseDao);
                     		break;
+                    	case TASK4:
+                    		addTask4(hiseDao);
+                    		break;
+                    	case TASK5:
+                    		addTask5(hiseDao);
+                    		break;
+                    	case TASK6:
+                    		addTask6(hiseDao);
+                    		break;
+                    	case ADD_USERS:
+                    		addSomeUsers(hiseDao);
+                    		break;
+                    	case CLEAN_ALL:
+                    		cleanup(hiseDao);
                     }
                     return tid;
                 	

Modified: incubator/hise/trunk/hise-test-example-osgi/src/main/resources/testHtd1.xml
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-test-example-osgi/src/main/resources/testHtd1.xml?rev=984734&r1=984733&r2=984734&view=diff
==============================================================================
--- incubator/hise/trunk/hise-test-example-osgi/src/main/resources/testHtd1.xml (original)
+++ incubator/hise/trunk/hise-test-example-osgi/src/main/resources/testHtd1.xml Thu Aug 12 12:11:10 2010
@@ -548,6 +548,7 @@ xs:double(htd:getInput("ClaimApprovalReq
                         <htd:organizationalEntity>
                             <htd:users>
                                 <htd:user>user3</htd:user>
+                                <htd:user>user4</htd:user>
                             </htd:users>
                         </htd:organizationalEntity>
                     </htd:literal>

Modified: incubator/hise/trunk/itest/filtering.xml
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/itest/filtering.xml?rev=984734&r1=984733&r2=984734&view=diff
==============================================================================
--- incubator/hise/trunk/itest/filtering.xml (original)
+++ incubator/hise/trunk/itest/filtering.xml Thu Aug 12 12:11:10 2010
@@ -3520,7 +3520,7 @@ count(*/*/htd:getMyTasksResponse)</path>
    <soapenv:Body>
       <test:cleanup/>
    </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="6f34224e-da2a-4d6c-a638-65d339de7f6b"/><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://test.hise.apache.org/Test/cleanup"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="calltestcase" name="Run TestCase" id="e90da91b-9e88-4bef-89e4-a99cf6037fbc"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>5fa2b700-ecef-4a17-9360-8de9a3076b2f</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="delay" name="Delay" id="b69d8886-9b66-49c8-8a6e-5d8fcbb0bfee"><con:settings/><con:config><delay>7000</delay></con:config></con:testStep><con:testStep type="request" name="getMyTasks - Request 1" id="096e5d5c-6fe5-4fc0-
 8bbd-c918de2ea59b"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>taskOperationsSOAP</con:interface><con:operation>getMyTasks</con:operation><con:request name="getMyTasks - Request 1" outgoingWss="" incomingWss="" wssPasswordType="PasswordDigest"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@wss-time-to-live"/><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#destination}/taskOperations/</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.example.org/WS-HT/api/xsd">
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="6f34224e-da2a-4d6c-a638-65d339de7f6b"/><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://test.hise.apache.org/Test/cleanup"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="calltestcase" name="Run TestCase" id="e90da91b-9e88-4bef-89e4-a99cf6037fbc"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>5fa2b700-ecef-4a17-9360-8de9a3076b2f</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="request" name="getMyTasks - Request 1" id="096e5d5c-6fe5-4fc0-8bbd-c918de2ea59b"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>taskOperations
 SOAP</con:interface><con:operation>getMyTasks</con:operation><con:request name="getMyTasks - Request 1" outgoingWss="" incomingWss="" wssPasswordType="PasswordDigest"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@wss-time-to-live"/><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#destination}/taskOperations/</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.example.org/WS-HT/api/xsd">
    <soapenv:Body>
       <xsd:getMyTasks>
          <xsd:taskType>ALL</xsd:taskType>
@@ -3628,7 +3628,66 @@ count(*/*/*/htd:taskAbstract)</path><con
 	 <xsd:maxTasks>20</xsd:maxTasks>
       </xsd:getMyTasks>
    </soapenv:Body>
-</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="3dc8dccf-bd8a-4348-b1fc-b485f2428df5"/><con:assertion type="Schema Compliance" id="b2a0d893-c104-403b-a725-a592f77a0750"><con:configuration><definition/></con:configuration></con:assertion><con:assertion type="SOAP Fault Assertion" id="81abdad6-06c7-46ec-bad6-1187ff0d137e"/><con:credentials><con:username>user1</con:username><con:password>user1pass</con:password><con:domain>abc</con:domain></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.example.org/WS-HT/api/wsdl/taskOperations/getMyTasksRequest"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1" id="fe644a5a-6921-4288-a623-899a667449b2"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</
 con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>60</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type><con:config><testDelay>0</testDelay><randomFactor>0.5</randomFactor></con:config></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="AddTask" searchProperties="true" id="5fa2b700-ecef-4a17-9360-8de9a3076b2f"><con:settings/><con:testStep type="request" name="approve - Request 1"><con:settings/><co
 n:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClaimsHandlingBinding</con:interface><con:operation>approve</con:operation><con:request name="approve - Request 1" outgoingWss="" incomingWss="" useWsAddressing="true"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#destination}/ClaimsHandlingService2/</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cla="http://www.insurance.example.com/claims">
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="3dc8dccf-bd8a-4348-b1fc-b485f2428df5"/><con:assertion type="Schema Compliance" id="b2a0d893-c104-403b-a725-a592f77a0750"><con:configuration><definition/></con:configuration></con:assertion><con:assertion type="SOAP Fault Assertion" id="81abdad6-06c7-46ec-bad6-1187ff0d137e"/><con:credentials><con:username>user1</con:username><con:password>user1pass</con:password><con:domain>abc</con:domain></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.example.org/WS-HT/api/wsdl/taskOperations/getMyTasksRequest"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1" id="fe644a5a-6921-4288-a623-899a667449b2"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</
 con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>60</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type><con:config><testDelay>0</testDelay><randomFactor>0.5</randomFactor></con:config></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="workQueue" searchProperties="true" id="5bb86773-36f9-4e28-a8da-cafda3f95a51"><con:settings/><con:testStep type="request" name="cleanup" id="7b0a7564-1b05-40e1-88b2-
 15d1f33dc5b5"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>TestImplServiceSoapBinding</con:interface><con:operation>cleanup</con:operation><con:request name="cleanup" outgoingWss="" incomingWss="" timeout="" wssPasswordType=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#destination}/test/</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:test="http://test.hise.apache.org/">
+   <soapenv:Header/>
+   <soapenv:Body>
+      <test:cleanup/>
+   </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="6f34224e-da2a-4d6c-a638-65d339de7f6b"/><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://test.hise.apache.org/Test/cleanup"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="calltestcase" name="Run TestCase" id="6c0e7366-3026-4ded-b0e2-c6223d7e1104"><con:settings/><con:config xsi:type="con:RunTestCaseStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:targetTestCase>5fa2b700-ecef-4a17-9360-8de9a3076b2f</con:targetTestCase><con:properties/><con:returnProperties/><con:runMode>PARALLELL</con:runMode></con:config></con:testStep><con:testStep type="request" name="getMyTasks  workQueueG1 - Request 1" id="f463f790-aac6-4a79-bc4f-b627428c48ee"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>t
 askOperationsSOAP</con:interface><con:operation>getMyTasks</con:operation><con:request name="getMyTasks  workQueueG1 - Request 1" outgoingWss="" incomingWss="" wssPasswordType="PasswordDigest"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@wss-time-to-live"/><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#destination}/taskOperations/</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.example.org/WS-HT/api/xsd">
+   <soapenv:Body>
+      <xsd:getMyTasks>
+         <xsd:taskType>ALL</xsd:taskType>
+         <xsd:workQueue>group1</xsd:workQueue>
+	 <xsd:maxTasks>30</xsd:maxTasks>
+      </xsd:getMyTasks>
+   </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="c3a3d664-77ec-460e-af23-6b3f34bbb76f"/><con:assertion type="Schema Compliance" id="ffaeeb82-7c73-4497-befb-349636aebca4"><con:configuration><definition/></con:configuration></con:assertion><con:assertion type="XQuery Match" id="10d682a2-1ef2-4b1b-be00-459fa7ce543c"><con:configuration><path>declare namespace htd = 'http://www.example.org/WS-HT/api/xsd';
+count(*/*/*/htd:taskAbstract)</path><content>&lt;xml-fragment>6&lt;/xml-fragment></content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion type="SOAP Fault Assertion" id="34c23a5f-2831-4407-a0f2-ceb6532d2cc5"/><con:credentials><con:username>user1</con:username><con:password>user1pass</con:password><con:domain>abc</con:domain></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.example.org/WS-HT/api/wsdl/taskOperations/getMyTasksRequest"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="getMyTasks workQueueG1  - Request 2" id="37539bba-4c24-4d63-96f9-c4edda234e69"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>taskOperationsSOAP</con:interface><con:operation>getMyTasks</con:operation><con:request n
 ame="getMyTasks workQueueG1  - Request 2" outgoingWss="" incomingWss="" wssPasswordType="PasswordDigest"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@wss-time-to-live"/><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#destination}/taskOperations/</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.example.org/WS-HT/api/xsd">
+   <soapenv:Body>
+      <xsd:getMyTasks>
+         <xsd:taskType>ALL</xsd:taskType>
+         <xsd:workQueue>group1</xsd:workQueue>
+	 <xsd:maxTasks>30</xsd:maxTasks>
+      </xsd:getMyTasks>
+   </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="98dd027c-0d86-4191-8f73-3ebccbc1ae7e"/><con:assertion type="Schema Compliance" id="15010995-2462-4494-9c94-678fcbdc4fb7"><con:configuration><definition/></con:configuration></con:assertion><con:assertion type="XQuery Match" id="3b224be0-9e4f-45f5-ae2d-ea38540112cb"><con:configuration><path>declare namespace htd = 'http://www.example.org/WS-HT/api/xsd';
+count(*/*/*/htd:taskAbstract)</path><content>&lt;xml-fragment>3&lt;/xml-fragment></content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion type="SOAP Fault Assertion" id="3fe770b1-e7d4-4b9f-9cc6-6e9828bfe99e"/><con:credentials><con:username>user4</con:username><con:password>user4pass</con:password><con:domain>abc</con:domain></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.example.org/WS-HT/api/wsdl/taskOperations/getMyTasksRequest"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="getMyTasks  workQueueG1  - Request 3" id="a6ffd818-bc2e-4828-bf90-01f25941927a"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>taskOperationsSOAP</con:interface><con:operation>getMyTasks</con:operation><con:request 
 name="getMyTasks  workQueueG1  - Request 3" outgoingWss="" incomingWss="" wssPasswordType="PasswordDigest"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@wss-time-to-live"/><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#destination}/taskOperations/</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.example.org/WS-HT/api/xsd">
+   <soapenv:Body>
+      <xsd:getMyTasks>
+         <xsd:taskType>ALL</xsd:taskType>
+         <xsd:workQueue>group1</xsd:workQueue>
+	 <xsd:maxTasks>30</xsd:maxTasks>
+      </xsd:getMyTasks>
+   </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="6b6fbeee-ba4c-4b6c-99ae-ba8e74d15258"/><con:assertion type="Schema Compliance" id="64a1bc44-f972-43fd-97f5-a5f9c6bea059"><con:configuration><definition/></con:configuration></con:assertion><con:assertion type="XQuery Match" id="35eada10-c1ed-4a83-8b1e-f0ac03114c7a"><con:configuration><path>declare namespace htd = 'http://www.example.org/WS-HT/api/xsd';
+count(*/*/*/htd:taskAbstract)</path><content>&lt;xml-fragment>0&lt;/xml-fragment></content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion type="SOAP Fault Assertion" id="2798bd6b-bb7a-4728-bca8-5207480e6410"/><con:credentials><con:username>user6</con:username><con:password>user6pass</con:password><con:domain>abc</con:domain></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.example.org/WS-HT/api/wsdl/taskOperations/getMyTasksRequest"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="getMyTasks  workQueueG1  - Request 4" id="92986a67-0643-4878-8119-964f2a3a334d"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>taskOperationsSOAP</con:interface><con:operation>getMyTasks</con:operation><con:request 
 name="getMyTasks  workQueueG1  - Request 4" outgoingWss="" incomingWss="" wssPasswordType="PasswordDigest"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@wss-time-to-live"/><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#destination}/taskOperations/</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.example.org/WS-HT/api/xsd">
+   <soapenv:Body>
+      <xsd:getMyTasks>
+         <xsd:taskType>ALL</xsd:taskType>
+         <xsd:workQueue>group1</xsd:workQueue>
+	 <xsd:maxTasks>30</xsd:maxTasks>
+      </xsd:getMyTasks>
+   </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="6b6fbeee-ba4c-4b6c-99ae-ba8e74d15258"/><con:assertion type="Schema Compliance" id="64a1bc44-f972-43fd-97f5-a5f9c6bea059"><con:configuration><definition/></con:configuration></con:assertion><con:assertion type="XQuery Match" id="35eada10-c1ed-4a83-8b1e-f0ac03114c7a"><con:configuration><path>declare namespace htd = 'http://www.example.org/WS-HT/api/xsd';
+count(*/*/*/htd:taskAbstract)</path><content>&lt;xml-fragment>3&lt;/xml-fragment></content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion type="SOAP Fault Assertion" id="2798bd6b-bb7a-4728-bca8-5207480e6410"/><con:credentials><con:username>someUser</con:username><con:password>someUser</con:password><con:domain>abc</con:domain></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.example.org/WS-HT/api/wsdl/taskOperations/getMyTasksRequest"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="getMyTasks  workQueueG4  - Request 1" id="976edba3-cfb7-4144-99e2-1a5bfe1ad4c5"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>taskOperationsSOAP</con:interface><con:operation>getMyTasks</con:operation><con:reques
 t name="getMyTasks  workQueueG4  - Request 1" outgoingWss="" incomingWss="" wssPasswordType="PasswordDigest"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@wss-time-to-live"/><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#destination}/taskOperations/</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.example.org/WS-HT/api/xsd">
+   <soapenv:Body>
+      <xsd:getMyTasks>
+         <xsd:taskType>ALL</xsd:taskType>
+         <xsd:workQueue>group4</xsd:workQueue>
+	 <xsd:maxTasks>30</xsd:maxTasks>
+      </xsd:getMyTasks>
+   </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="6b6fbeee-ba4c-4b6c-99ae-ba8e74d15258"/><con:assertion type="Schema Compliance" id="64a1bc44-f972-43fd-97f5-a5f9c6bea059"><con:configuration><definition/></con:configuration></con:assertion><con:assertion type="XQuery Match" id="35eada10-c1ed-4a83-8b1e-f0ac03114c7a"><con:configuration><path>declare namespace htd = 'http://www.example.org/WS-HT/api/xsd';
+count(*/*/*/htd:taskAbstract)</path><content>&lt;xml-fragment>4&lt;/xml-fragment></content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion type="SOAP Fault Assertion" id="2798bd6b-bb7a-4728-bca8-5207480e6410"/><con:credentials><con:username>user1</con:username><con:password>user1pass</con:password><con:domain>abc</con:domain></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.example.org/WS-HT/api/wsdl/taskOperations/getMyTasksRequest"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="getMyTasks  workQueueG4  - Request 2" id="ff5e696d-b380-4d7a-b7e2-44aa99c0fff8"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>taskOperationsSOAP</con:interface><con:operation>getMyTasks</con:operation><con:request 
 name="getMyTasks  workQueueG4  - Request 2" outgoingWss="" incomingWss="" wssPasswordType="PasswordDigest"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@wss-time-to-live"/><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#destination}/taskOperations/</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.example.org/WS-HT/api/xsd">
+   <soapenv:Body>
+      <xsd:getMyTasks>
+         <xsd:taskType>ALL</xsd:taskType>
+         <xsd:workQueue>group4</xsd:workQueue>
+	 <xsd:maxTasks>30</xsd:maxTasks>
+      </xsd:getMyTasks>
+   </soapenv:Body>
+</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="6b6fbeee-ba4c-4b6c-99ae-ba8e74d15258"/><con:assertion type="Schema Compliance" id="64a1bc44-f972-43fd-97f5-a5f9c6bea059"><con:configuration><definition/></con:configuration></con:assertion><con:assertion type="SOAP Fault Assertion" id="2798bd6b-bb7a-4728-bca8-5207480e6410"/><con:assertion type="XQuery Match" id="35eada10-c1ed-4a83-8b1e-f0ac03114c7a"><con:configuration><path>declare namespace htd = 'http://www.example.org/WS-HT/api/xsd';
+count(*/*/*/htd:taskAbstract)</path><content>&lt;xml-fragment>0&lt;/xml-fragment></content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username>someUser</con:username><con:password>someUser</con:password><con:domain>abc</con:domain></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.example.org/WS-HT/api/wsdl/taskOperations/getMyTasksRequest"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1" id="787e13ae-f37d-484a-97a0-1950f3f699c4"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStati
 sticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>60</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type><con:config><testDelay>0</testDelay><randomFactor>0.5</randomFactor></con:config></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="AddTask" searchProperties="true" id="5fa2b700-ecef-4a17-9360-8de9a3076b2f"><con:settings/><con:testStep type="request" name="approve - Request 1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClaimsHandlingBinding</con:interface><con:operation>approve</con:operation><con
 :request name="approve - Request 1" outgoingWss="" incomingWss="" useWsAddressing="true"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>${#Project#destination}/ClaimsHandlingService2/</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cla="http://www.insurance.example.com/claims">
    <soapenv:Header>
       <htd:initiator xmlns:htd="http://www.example.org/WS-HT">soapui</htd:initiator>
    </soapenv:Header>



Mime
View raw message