User Control to Automate Test Content Create/Delete?
Has anyone already written a generic user control that would aid in auto-creation and deletion of test content?
We need to auto-generate multiple content items under a given node, to test paging and load performance. I was thinking of a user control that maybe prompted for parent node id and number of content items to create then on submit it auto-created content items.
Maybe those content items have some tag or marker in the content that makes them easy to find on a subsequent use of the user control to find and remove that test data.
Anyone done anything similar they'd like to share?
What you could do is import some dummy data on the parent node using CMSImport. I use this TestData generator to create dummy data files in csv. When you want to delete those items you could either remove the whole folder or use the Content Maintenance Dashboard package to delete each individual item.
User Control to Automate Test Content Create/Delete?
Has anyone already written a generic user control that would aid in auto-creation and deletion of test content?
We need to auto-generate multiple content items under a given node, to test paging and load performance. I was thinking of a user control that maybe prompted for parent node id and number of content items to create then on submit it auto-created content items.
Maybe those content items have some tag or marker in the content that makes them easy to find on a subsequent use of the user control to find and remove that test data.
Anyone done anything similar they'd like to share?
Hi,
What you could do is import some dummy data on the parent node using CMSImport. I use this TestData generator to create dummy data files in csv. When you want to delete those items you could either remove the whole folder or use the Content Maintenance Dashboard package to delete each individual item.
Cheers,
Richard
is working on a reply...